Go Down

Topic: Arduino Due-Not responding to Serial commands entered through Serial monitor. (Read 398 times) previous topic - next topic

sanjaysingania

Hello everyone,
 
 I am using Arduino due board.I want to communicate the arduino with PC.I am sending the serial commands through the serial monitor,but the arduino is not able to read serial data. But Serial.print() is working fine.Arduino is sending the data.Problem is with reading the data......
I have uploaded the following code:

sterretje

Can you please insert the code in the a post? It's small enough. People using cell phones can probably not read it.


Type [code]
Paste your code after that
Type [/code] after that
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

ard_newbie


Your snippet works fine, but you forgot a "}" at the end of the code and select 250000 instead of 9600 bauds

oqibidipo

Are you aware that the Arduino serial monitor does not send characters as you type, but sends the whole line after you press Return/Enter?

Go Up