10-17-2014 01:10 PM
So just a little background of what Im trying to do: Make a labview to send a character over to the arduino and the arduino reads that in and then writes to its EEPROM a value if it recieved something. Basically i wrote a simple program to test this out although it only works when I have the debugger active. First I thought this may be a timing issue so I added in a wait paramter but still no luck. Any one know what the solution to getting the program to work using the regluar run command?
(Also the serial Port does open when in the debugger I know)
Arduino Code:
String x="";
#include <EEPROM.h>
void setup() {
// initialize serial:
Serial.begin(9600);
// make the pins outputs:
}
void loop() {
// if there's any serial available, read it:
if(Serial.available() > 0) {
EEPROM.write(1,3);
}
}
10-17-2014 01:19 PM
10-18-2014 02:11 AM
where is com port value?
10-18-2014 03:35 AM
10-18-2014 03:55 AM
I saw question and I answered, I will be careful I dont repeat it
What I saw in image is missing com port. for that I dont need to find a refernce for answering
10-18-2014 02:09 PM
But when you answer in this thread, that keeps the conversation going in this thread thus splitting communication between multiple threads. This defeats the purpose of marking this thread a duplicate and hyperlinking to the other thread where the responses belong.
10-19-2014 12:25 AM
Roger that !!!
Like I said will ensure in future. Thanks for suggestion