I’m a FEZ newb and I’m tearing my hair out. Thanks for you help.
When I run the following code…:
OutputPort pin = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.Di13, true);
… I get the following error:
An unhandled exception of type ‘System.Exception’ occurred in Microsoft.SPOT.Hardware.dll
I get this with digital pins 11 & 13… but 12 works fine!? This happens even if this is the only line of code in my main procedure.
Could these pins be damaged? Or have they retained some ‘state’ from previous use? I have reloaded the firmware and the problem persists.
For now, I am using pin 12 for my purposes (controlling a serial display) and it works but I remained baffled by these ‘non-working’ pins…
Hope this is clear. Any ideas? Is there some diagnotics test I can run?
Thanks for your feedback.