How to attatch interrupt to pin D0/RX on expansion port?
Hi all,
Got Industruino IND.I/O (D21G version). Need to use D0/RX pin on the expansion port for other than Serial/RS485. Also need to attach an interrupt to this pin. How can I do this? Thanks in advance.
Hi, In order to use the D0 and D1 pins on the expension port, you need to disconnect them from the RS485 port. This can be done by moving the hardware switch on the baseboard to the upper position, away from the RS485 terminals. https://github.com/Industruino/documentation/blob/master/indio.md#rs485 After that, the pin becomes available and you can handle it as a normal Arduino GPIO.
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 1/4/23, 1:16 AM |
Seen: 759 times |
Last updated: 1/23/23, 2:20 AM |