Visual studio arduino7/7/2023 ![]() Of course, if you want to, you can prevent this bug (Is it?) if you find a solution for it. If it does so, just close the program and open it again, and then connect to the proper Serial Port. ![]() But, if you do that, you can't receive any SerialData anymore.īecause if the SerialPort-Module can't read any data from the SerialPort, the program will go into a Runtime Exception. But it is allowed to be higher.Īnd: do never connect to any other Serial Port than to your Arduino, or completely remove or outcomment the Private Sub for the Timer. That means: The Interval for the Timer in Visual Studio is not allowed to be lower than the delay for the Arduino. If you do so, you have to change the Interval for the Timer in VisualStudio, too!!īut, of course, inside your Arduino, you can type in any lower number than 100, without changing the Interval in VisualStudio. ![]() !! Be careful! Don't change the delay to any higher number than 100 Milliseconds. I did that in, but you can to that in your Arduino IDE, or any other IDE, too. ![]()
0 Comments
Leave a Reply. |