Step 11Testing/Troubleshooting
Assuming you've programmed your AVR MCU and followed the wiring diagram, at this point, you should be able to connect both chips to ground and V+ from your batteries (or external supply of 4-5.5v). Ideally, the disc should immediately light up and go through the "blade" animations.
TROUBLESHOOTING
If you run into problems once you supply power to your chips, the best thing to check is your wiring diagram. DISCONNECT THE BATTERY - you don't want to fry anything.
For those of you who are trying to port the code to another AVR, or are trying to do some troubleshooting - there are three lines of code commented out in initsdp8 of LEDControl.h. These put the chip into test mode for 1 second - useful for checking your wiring.
Also, there is an included led_test function that I coded as an initial test sequence - this lights up each LED sequentially. If you've made some wiring mistakes - this may be helpful as well. Simply add a call to this function after initsdp8 is called.
If anyone runs into trouble and I'm able to help - I'll post additional troubleshooting steps here as well.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


















































