Post Created date
ADC not selecting correct channel?
This line in dummyPoll() doesn't do anything and is most likely removed by the compiler. while (ADSC ==1){;} It doesn't explain the symptoms you are seeing, though.
Friday, 14 December 2007 - 08:20
Array access in Timer1 OVF interrupt
Currently your array is in RAM, so you run out of memory. IIRC just adding PROGMEM to the array definition should relocate it to flash. Oh, and you need to include avr/pgmspace.h...
Wednesday, 12 December 2007 - 09:57
Problem programming ATTINY861 on STK500
Reset is PB7, not PB5.
Monday, 3 December 2007 - 08:02
ADC Not Polling
value = (ADCH << 8) | ADCL; I'm not sure if this guarantees that the registers are read in the correct order. Reading them the wrong way would freeze the value as you are...
Thursday, 29 November 2007 - 12:02
Beating my head against the wall! Why doesn't this work?
The line that mckenney quoted will turn off the pullups on your switches. Use an OR to preserve the other bits in PORTD. PORTD |= (1 << PORTD5); There are a few other...
Tuesday, 27 November 2007 - 15:11
AVR and DALI application
The AT90PWM series has hardware support for DALI. Check out the datasheets at atmel's website.
Wednesday, 21 November 2007 - 12:03
DES bootloader for ATTiny
It is certainly possible to use a bootloader with an ATtiny, but I doubt that any bootloader written for a mega will directly support the tinys. The changes required should not be...
Friday, 16 November 2007 - 11:22
SPI slave problem
Quote: when I said "same voltage levels for both cpus at 3.3V", I meant the SPI signal lines, not the Vcc That's what I thought as well. Just wanted to make sure. But I'd still...
Tuesday, 13 November 2007 - 15:58
SPI slave problem
Quote: yep, same voltage levels for both cpus at 3.3V Just checking... You have some sort of level converter for the spi, and the mega128 has a higher Vcc, right? Because 3.3V @...
Tuesday, 13 November 2007 - 11:38
How to isolate the AVR for the power-off?
Quote: Another option is to put the powered down micro into some sort of sleep or low poer state instead of powering it down. This would be the easiest way, if it is possible in...
Wednesday, 7 November 2007 - 11:13
Quote: OT: No A/D! Huh? The migration document talks about A/D, and there's an ADC interrupt...
Wednesday, 7 November 2007 - 08:50
avr n00b adc on m168
The tutorial is probably written for a different compiler, so the syntax for declaring an interrupt handler is different than in avr-gcc. Replace interrupt [ADC_INT] void...
Sunday, 4 November 2007 - 11:46