YYX
When I run test program, all location's value appears 「true」.
When I input %IX0.3 5V manually, value doesn't change.
How should I fix this situation.
Thanks
a.jpg
Reply 0 0
thiagoralves
Need more detail. What hardware? How's the wiring? Any pull down resistors? What hardware driver is being used? Are you using PSM?
Reply 0 0
YYX
I try 2 circuit which attached figures.
hardware:Raspberry Pi 5 /4GB
 
Thanks
 
1.jpg2.jpg
Reply 0 0
thiagoralves
1. You need pull down resistors on %IX0.3. An open switch on that pin means that pin is floating, so its state is undefined.
 
Reply 0 0
YYX
Thank you for giving me the information.
 
I will read the thread and add pull dawn resistors.
Reply 0 0
YYX
I tried the solution written in the thread above.
Then my test program and test circuit worked as intended.
Thank you very much for your help.
(Thank you very much DJKalian)
Reply 0 0
Reply