Post Created date
Input capture problem
theusch wrote: I don't think I'd ever sit "hard" in the ISR waiting for the opposite edge. What happens when the input signal stops? The AVR is locked up hard. At the least,...
Friday, 20 July 2012 - 20:16
Input capture problem
Sternst says no another interrupt is not generated kk6gm says yes it does Koshi says yes it triggers another interrupt metron9 says yes it does Please confirm yes or no.
Friday, 20 July 2012 - 17:24
autonomous robot vehicle
http://en.wikipedia.org/wiki/Aut...
Friday, 20 July 2012 - 01:54
ISD4003 SPI problem
Have you investigated the data stream on the communication pins with a scope? Are your power supply grounds connected and have you verified voltages on the ISD pins? Loose wires...
Friday, 20 July 2012 - 01:48
Input capture problem
Two things jump out at me. The ICF1 flag is automatically reset when the interrupt is generated and the value of TCNT1 is written to ICR1. You reset the ICES1 flag to capture the...
Friday, 20 July 2012 - 01:22
Adding a variable int to a C String? (I2C related)
Construct a loop and test the 7th bit continuously, count the bad results to see if you have a pattern of bad results or if it is random. Do that for each pin 0..7. If you have a...
Friday, 13 July 2012 - 12:54
Adding a variable int to a C String? (I2C related)
If you test the function with an immediate value sendToWire(128); instead of the calculated value sendToWire(1<<bit); when bit=7 does it work? I built one using a mega48
Friday, 13 July 2012 - 03:29
Adding a variable int to a C String? (I2C related)
Why cant you just create an unsigned char in the SendToWire and load it with an array value (0..7) representing (FE..7F) to pass to the i2c_write function? Or if you need to use...
Thursday, 12 July 2012 - 03:11
help with servo ATtiny 2313 WinAvr 4
PB3 is your output pin for timer 1 OCR1A You also should design for 20 mS delay between pulses. http://www.diydrones.com/forum/t...
Thursday, 12 July 2012 - 02:44
Counting the changes in a pin
Post your ir circuit. Is that scope scan above reading directly from the pin connected to the ir circuit or is it just the circuit? When the scope probe is attached to pin and...
Thursday, 5 July 2012 - 03:57
memcpy
In Codevision void *memcpy(void *dest,void *src, unsigned int n) for the SMALL memory model. Copies n bytes from src to dest. dest must not overlap src, else use memmove....
Thursday, 5 July 2012 - 02:43
Counting the changes in a pin
Is your input connected to the correct pin? Sounds like the pin is floating, are your grounds connected from mcu to sensor?
Thursday, 5 July 2012 - 02:37

Pages