??? 09/24/07 15:32 Read: times |
#144932 - Thanks, but... Responding to: ???'s previous message |
Jan,
Thanks for that link. I have read up on this info before I posted and believe that I understand what you are saying, but I am seeing my output stay at a constant "1", regardless of what my external input is doing. I have a motion detector connected to my input. It is a NC output, so no motion it ouputs 0V to my input. When it seeing motion I get 5v on my input, for about 2.5 sec. When I reset my device, I see 0V on the input after it dectects motion for the first time the input stays at a "1" regardless if there is 0V or 5V on the input. Below is my code and circuit diagram. I hope this clears up any questions. void read_din1 (void) { DIGITAL_IN1 = 1; delay_10ms(); return DIGITAL_IN1; } |
Topic | Author | Date |
upsd3354D GPIO input question | 01/01/70 00:00 | |
Pardon? | 01/01/70 00:00 | |
Clarifiaction | 01/01/70 00:00 | |
unless ... | 01/01/70 00:00 | |
this is easy to check... | 01/01/70 00:00 | |
Sorry | 01/01/70 00:00 | |
Problem fixed. | 01/01/70 00:00 | |
this sounds like a pulldown problem or similar | 01/01/70 00:00 | |
Thanks, but... | 01/01/70 00:00 | |
this is exactly what I am talking about | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
Welcome![]() | 01/01/70 00:00 |