General

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

How to use the digital input IO_5

Avatar
ADMIN

I trying to use the IO_5 or IO_6 as a normal digital input, but this input is interrupts enable, it’s possible to use that in input like IO_0.Because when i used digitalRead is doesn’t works

Avatar
Descartar
1 Respuesta
0
Avatar
ADMIN
Best Answer

Hi Jean Claude,I0_5 and I0_6 can work as a normal input, but you must configure the wiring and the switch configuration properly. Take a look that these pins have a not commune GND. Also you must have the switches PIN2/I0.5 and PIN3/I0.6 to ON position (M-Duino PLUS version).With that you should can use digitalRead(pin) like any other normal input pin.Best regards,

Avatar
Descartar