I have an issue that make me crazy...
I use the expansion port pin to control an external drive that control a step motor, and work everithing perfectly, the problem occure when i connected a push button and use the I/O pin to read the button state.
So, when i call
to set the expansion port pin work ok.... but if i call also
everything stop working... any idea?
When using the INDIO please be aware that the it uses an expander for the I/O channels over I2C, which means it uses D2/D3 to drive the I/O channels, and also the RTC if you use that. Please use any other pins on the expansion port, see https://github.com/Industruino/documentation/blob/master/indio.md#idc-expansion-port-pinout
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!