Chat freely about anything...

User avatar
By jackandjill
#83196 For a project I have to use 8 digital pins and 2 interrupt pins. Can somebody suggest me good combination for those pins.
Upto now, I have used D0, D1, D2, D3, D5, D6, D7, D8 as output pins.
Can I use GPIO10 and GPIO9 pins for interrupts?
User avatar
By btidey
#83318 I guess from your use of D0 etc naming this is a NodeMCU board.

If you are not using the serial in the active sketch then you can use the TX and RX pins as extra GPIO (1 & 3)

Note that these pins on the NodeMCU are connected to the USB serial chip. The TX is not an issue as it is goes to an input but the RX is connected to the USB serial TX out via a 470Ohm resistor so an external input must be able to override this.