OK, I am admittedly a noob here, but I have done the blinky light stuff and I have moved on to ever so slightly more complex circuits. I can't get the digital outs to work on my new ND+2, I have verified the circuit on my netduino go with the shieldbase so I am a bit confused here. and I am not sure what else to do. code is simply like this
so light up the onboard led and output pin 7 for one second then just loop forever doing nothing. Not terribly complex. the Led lights up, but the output never works. (all it's doing is lighting another LED triggered via a transistor)
public static void Main() { OutputPort led = new OutputPort(Pins.ONBOARD_LED, false); OutputPort trigger = new OutputPort(Cpu.Pin.GPIO_Pin7, false); led.Write(true); trigger.Write(true); Thread.Sleep(1000); led.Write(false); trigger.Write(false);
while (true) { Thread.Sleep(1000); } }