OutputPort _pin = new OutputPort((Cpu.Pin)FEZCerbuino.Pin.Gadgeteer.Socket1.Pin6, false);
bool _val = true;
while (true) {
_pin.Write(_val);
_val = !_val;
Thread.Sleep(3000);
}
So on my CerbBee I have an LED connected between pin 6 (PA13) and GND. The code toggles the pin every 3 seconds, but the LED never lights. Tests with the multi-meter show that that the pin voltage is 1.8V and never changes. When I do the same thing with pin4 (PB10) it works.
Does anyone have any ideas?