looking to send strings via serial

JaiJai
edited March 2017 in Arduino

I wrote a very basic code in both Arduino and processing where processing is sending a string via serial to arduino and arduino its listening using serial.read function setting it equal to value and and IF value == string being sent from processing then do {port.write("one"); Serial.println("1"); Serial.println("one"); }

Now arduino serial read should get one of if not all these blocks of code interpreted as strings to activate a led on or off, however I see processing doing it's thing but arduino is not so I'm not sure tho I will say that if I switch the fatale of value which is a string to a say a char or int and type a 1 in serial arduino code well execute a led on or off respectfully, any thoughts on why won't processing send this string to arduino or any debugging methods to use in processing since I cant ooen arduino serial monitor to see what it is being received by processing if anything at that?

Sign In or Register to comment.