Trying to learn my way around the cobra.
I have been able to do several things already… Found my wifi network, flash the debug led.
Now I’d like to use one of those fancy LDR buttons as a normal buton (if possible). I found old posts doing it with other units, but that code didn’t work once I adjusted it for the G120.
InputPort ldrButton = new InputPort(G120.Pin.P2_10, false,Port.ResistorMode.PullUp);
ldrButton.OnInterrupt += ldrButton_OnInterrupt;
So is it possible & if so how?