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.
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!