..just an observation which I dont understand!
I have a simple program running at the moment that just reads a sensor and writes the result to a serial port...
every time it goes around the loop it toggles between two LEDs
while (true)
{
ToggleTwoLEDs();
ReadSensor();
WriteResultToSerialPort();
}
while running in visual studio the loop runs very quickly, when i stop debugging the LEDs toggling reduces to about quarter the speed (according to my eyes)..
what is going on?