![]() I added a connection from MCU Pin 1 to Vcc, and now my display shows all pixels lit up. Hmm.seems to have gone from bad to worse. I'm a little surprised it works at all like that. I corrected my mistake, and they all go to ground now, but, could that have damaged something? I'm thinking not, but, hey, what do I know? -)Īnyone have any idea why all pins are reading a '1'?Ĭonnect pin 1 to Vcc to see if that changes anything. ![]() Is there some silly, obvious wiring mistake that would cause everything to read high? I did initially make the mistake of wiring the the side opposite the MCU pins to +5V rail rather than ground. I'm pretty sure it's not a software problem, because the completed code that comes w/ the kit does the same thing my code does. Switching any of the switches has no effect. I write the code, and even with all the switches off, I get 7, 7, 14 as output, i.e., all pins are reading high (on). I wire the ON side (numbered side) of the switches to ground, and the other side to MCU pins 23-28, as instructed. So, I pull the LED and the temp sensor off the board, I put in the bank of DIP switches. I was successful w/ the temp sensor project, blinking an LED, and even went ahead and combined the LED w/ the temp sensor, and added an LED warning light when temp exceeded a threshold.
0 Comments
Leave a Reply. |