Hello thanks for your replay, but it's I do timer. sleep is the processor going to be really stuck or not ?
And i have anthor question, Is there a way to use an input to detect rising edge and falling edge at the same time ?
thanks,
Search found 2 matches
- 21 Nov 2019, 14:27
- Forum: Software
- Topic: Read DI pin with timer
- Replies: 10
- Views: 19809
- 20 Nov 2019, 15:56
- Forum: Software
- Topic: Read DI pin with timer
- Replies: 10
- Views: 19809
Read DI pin with timer
Hello,
I just bought a RevPI Connect with a RevPi DI and DIO and I'm trying to interrogate a DI pin, for example every 100 ms or 10 seconds to accurately read the status of the pin.
You have a tutorial with timer and PIN code reader in python or something that could help me.
Thank you,
I just bought a RevPI Connect with a RevPi DI and DIO and I'm trying to interrogate a DI pin, for example every 100 ms or 10 seconds to accurately read the status of the pin.
You have a tutorial with timer and PIN code reader in python or something that could help me.
Thank you,