randhall
 
This is one of the errors only when I add an Arduino_ext .
 
I write a simple ladder ( which working very well on debug online )
but if I insert an arduino code c++ I get this error ....
 
 
 
 
 
 
 
[203128%2F9092726%2Fmceclip0]
Reply 0 0
thiagoralves
It seems that your Arduino extension code might be stalling the runtime so it stops responding to the debugger requests
Reply 0 0
randhall
I reinstalled runtime several times, but nothing changes.

Reply 0 0
randhall
[203128%2F9094007%2Fmceclip0][203128%2F9094006%2Fmceclip0]
Up to this point everything is going well, as soon as I add a command in void setup I get the error
Reply 0 0
randhall
"...I reinstalled runtime several times, but nothing changes..."
I rebased it...not reinstalled
Reply 0 0
thiagoralves
Wait… are you trying to run Arduino extension code on the Windows runtime? Arduino extension is meant for Arduino boards only
Reply 0 0
randhall
No, I rebased runtime thinking it was the cause of the problem.  I am working with Openplc Editor , Arduino nano with two bottons and a Lcd 16x2  
Reply 0 0
thiagoralves
Up to this point everything is going well, as soon as I add a command in void setup I get the error
Which command?
Reply 0 0
randhall
lcd.init();
lcd.backlight();
 
... and so on ....
 
 
.... is enough write theese two lines in Void_Setup  to get the error .
Reply 0 0
thiagoralves
Perhaps these commands are taking too long and making the board unresponsive, or you are running out of memory. I don't know which board you are using, but the Arduino Uno board which is the most popular one, has only 2KB of RAM. It is very easy to run out of memory on that one. I would put a blinking LED in one of the outputs just to be sure the code is still running. If the LED stops blinking, then you know your board is stuck at something or crashed.
Reply 0 0
randhall
I 'll try to do it .
Reply 0 0
Write a reply...
Reply