Hi,
I’m using FEZRaptor to read & write serial ports (up to 5 serial ports connected to a board). My program decide which state it goes to based on the inputs of all the ports (a simple state machine programming model).
I’m using multithread to process my serial port ReadLine and data received, my questions is why my program runs faster (response immediately going to next step) in Debug mode in Visual Studio? In comparison, while i boot the device itself (without Visual Studio debug), the state machine takes aboue 1s to go to next step?
Any idea?
By any chance that the VS take processing load from the FEZRaptor while running debug mode?
or how do i further dianose what is the culprit?
Thanks.