I want to use an external button besides the LDR button to control things. How do I go about assigning one of the IO ports as my button. I have been trying to use the schematics and such, but so far I can only get the LDR to not give me an error. Like shown below:
InterruptPort IntButton = new InterruptPort((Cpu.Pin)FEZ_Pin.Digital.LDR, false,
Port.ResistorMode.PullUp,
Port.InterruptMode.InterruptEdgeLow);
Say I want to use Digital IO D26. I have tried replacing LDR with IO26 and such, but no luck. How do I find the pin name corresponding to the shields pin name?