Hi guys I have a Panda II and for some reason I am having trouble finding a function to call to reset the board instead of having to hit the RST Button.
For example, once my code finished I would like the last line to act as a reset button.
Loads of information here and I still can’t find it!
public static void Main()
{
OutputPort LED;
LED = new OutputPort((Cpu.Pin)EMX.Pin.IO47, true);
while (true)
{
LED.Write(!LED.Read());
Thread.Sleep(200);
}
}
Any code inside the while (true) loop will keep looping and in this case turning the led on and off
@ Electo - Just a note, that may not be the best method to use depending on what you are trying to achieve, as Architect mentioned show some code on what you are trying to do and there might be a more elegant approach.