Digital Read PIN


#1

I have a MegaPi and I’ve been trying to read a digital pin (4) with a limit switch (normally open) and it doesn’t seem to work properly. Has anyone used “Read Digital PIN” with success in mblock v3.4.8?

I’m using the Arduino and the Megapi extensions. I can Set Outputs on a pin to high and low but cannot seem to read a digital pin.

Would you mind sharing some tips?

Thanks


#2