I want to drive an optical encoder using the Industruino IND.I/O D21G board. Kindly let me know the pins I need to use and also kindly provide with a working code.
Thanks in advance.
Hi, you can find more info on the INDIOs digital channels interrupts at https://github.com/Industruino/libraries#interrupts
You can also use the GPIO pins available on the 14-pin IDC connector, details here https://github.com/Industruino/libraries#idc-pinout and external interrupts work on all pins except 11 and 17, with the standard attachInterrupt(pin, ISR, mode); instruction. More details at Arduino reference.
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!