Post Created date
Reversing Order of bits.
Assume forward contains your original byte. See what the compiler optimises this to. Might be just as good as a creative for loop. forward = (forward...
Thursday, 22 February 2007 - 16:41
Using a Flat Flex Connector
If you have small smd solder, a fine tipped iron, some magnet wire and a little patience, soldering to 0.5mm isn't hard. I definitely wouldn't use 30 gauge, as it's gonna be too...
Wednesday, 21 February 2007 - 17:20
Getting into AVR Programming
The easiest ones to build are basic parallel port programmers that consist of a DB25 connector and a handful of resistors. They'll program just about anything and work well. The...
Wednesday, 21 February 2007 - 04:37
Using a Flat Flex Connector
I would just either take some fine magnet wire and solder directly from the flex to a sip/dip header or find one of the sockets and make your own PCB that converts it to sip/dip.
Wednesday, 21 February 2007 - 04:13
USB > Serial Tuesday, 20 February 2007 - 17:04
C code SPI on AVR
If it appears to be hanging, it might be the issue with CS being low at some point after the SPI is enabled. That's what happened with me the first run. I looked at a bunch of...
Saturday, 17 February 2007 - 19:41
C code SPI on AVR
Once you get that working, if you need to do other things while you're waiting for the SPI transaction to finish you can write an interrupt handler for it, set the SPI bit in the...
Saturday, 17 February 2007 - 19:16
C code SPI on AVR
paramax55 wrote:1)Writing to the SPDR starts a transaction: SPDR = 0xvalue Yes, but first you must set up the direction of the pins and such. When using SPI, you must set the SCK...
Saturday, 17 February 2007 - 19:08
Unless you either have the extra avr chips kickin around and really want to use them, I would go with the FTDI232R chip. As long as you have some means to connect it, as it's a...
Friday, 16 February 2007 - 17:31
How to control voltage of pins in PORT B
Do you have the LED's hooked up at the same time you're measuring the voltage? If you have both the led and the meter hooked to the same pin and you see the LED change state then...
Thursday, 15 February 2007 - 17:30
AVR & SPI w/ DS1306 RTC
Shortly after posting this, I think I figured it out. I set SPCR register up before I init the port. I guess after I set up the SPI, I then init the port and set the CS high,...
Tuesday, 13 February 2007 - 18:39
Driving LEDs from an ATMega8 ?
I would get a few 8bit (or 16bit and 8bit) serial shift registers. Use them to serially set on/off for each of the 24 leds. Have the outputs of each of those drive 1 of 24...
Saturday, 10 February 2007 - 18:33