At 04:46 PM 8/27/2004, Jack Valmadre wrote: >I forgot to mention that I tested pins 0-3 on PORT A as outputs and they >worked fine. >I have also tried connecting an LED to the output of the comparator where it >would usually be connected to the Atmel and it went on/off as expected. >Jack. Sounds like you've done all the basics. Have you checked that you're actually getting the signals on the chip pins, as opposed to the socket pins, or PCB traces? I've been fooled before, with bad socket pins. In assembler, I would set the appropriate bits in DDRA as 0 for input, set the PORTA bits high for pullups, and then IN TEMP,PINA and mask as appropriate.
Message
Re: [AVR-Chat] PORTA input problems
2004-08-27 by Dave VanHorn
Attachments
- No local attachments were found for this message.