Post Created date
Why not connect the ISP header to the SPI bus of both AVRs. Then run the RESET line through a toggle switch to both AVR's reset pins. Then you can use the ISP to program either of...
Wednesday, 7 March 2007 - 17:20
beginner sample program
Look at AVR Studio's example programs. There's a few of them that start out simple and get more complex. Plus search this forum for simple starter programs. There should be tons....
Wednesday, 7 March 2007 - 17:15
Setting high a bit on PORTE only rises level to Vcc/2
Do you notice the same problem on other pins/ports or just B0?
Tuesday, 6 March 2007 - 22:15
Is it possible to let a macro represent 3 lines of code?
Hey, there's a whole competition every year for obfuscated c. That's way worse that concatenating code onto one line and people get awards for being the best at it =)
Tuesday, 6 March 2007 - 21:02
AVR SPI Problem
You mention having clk/128 as the SPI clock, but that requires setting SPR0 and SPR1 (bits 0 and 1 of SPCR) which you don't set. The default is clk/4. You also say MSB first, but...
Tuesday, 6 March 2007 - 20:57
avrdude writes wrong lock bit value
Does avrdude set fuse bits before flashing? If so, won't setting the lock bits lock it, but then erasing and flashing reset it?
Tuesday, 6 March 2007 - 17:53
AVR SPI Problem
After you declare CS as output, set CS high immediately. If it's low and you set up the SPI interface, it'll send it into slave mode and screw things up. Took me awhile to figure...
Tuesday, 6 March 2007 - 17:39
Is it possible to let a macro represent 3 lines of code?
You can have a macro represent 3 lines of code, but not 3 lines of preprocessor statements. Something like: #define MYMACRO { if ( a > 1 ) { SignalError(); } else {...
Tuesday, 6 March 2007 - 16:22
Using differential adc...
Might get a better reading/sensitivity if you amplify that voltage before feeding it into the ADC. I'm no good with analog stuff, but I'm sure someone here can show you a simple...
Friday, 2 March 2007 - 16:38
Pinout of SD,MiniSD, Micro SD
Good point =)
Wednesday, 28 February 2007 - 16:47
LCD not working
Like Mr Blonde said, a row of black spaces is quite often just a contrast adjustment. Have you turned your contrast pot all the way in both directions?
Wednesday, 28 February 2007 - 16:44
Getting closer with SD/MMC - how to address memory?
clawson wrote:if you only ever deal with 1 cluster files located in the root directory then you don't actually need to worry about the FAT indirection stuff This is only true if...
Wednesday, 28 February 2007 - 16:38