Go Down

Topic: Reseaving characters in a serial port (Read 216 times) previous topic - next topic

alpa4inos

Jun 12, 2017, 03:45 pm Last Edit: Jun 12, 2017, 03:50 pm by alpa4inos
Hello ,
I totaly new in arduino.

Can someone show me an exemple how to write code , so the arduino reseave characters one by one  thru the serial pin, and store theme
baud 9600 , 8 data bits , 1 start bit , 1 parity bit.

And making a loop so it will do this till the character "T" is found.

Thanks




ieee488

The words are receiving and receive .

PaulS

Robin2 has gone to the trouble to write up the process. You can at least spend a few seconds searching.

http://forum.arduino.cc/index.php?topic=396450.0
The art of getting good answers lies in asking good questions.

jurs

Hello ,
I totaly new in arduino.

Can someone show me an exemple how to write code , so the arduino reseave characters one by one  thru the serial pin, and store theme
baud 9600 , 8 data bits , 1 start bit , 1 parity bit.

And making a loop so it will do this till the character "T" is found.

Thanks




So 'T' is going to be the terminating character, which will make a stop to collecting input from Serial?

Robin2

And making a loop so it will do this till the character "T" is found.
See the second example in Serial Input Basics

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

alpa4inos


Go Up