Pages: [1]   Go Down
Author Topic: Serial Communication  (Read 545 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I know how to use the serial communication of the Arduino. I have this 12 Byte Hexadecimal number I want to send through the serial of the Arduino and I don't how to do so. The number is AA0Dh, 00h, 00h, 00h, 00h. Any suggestions on how to do so?

Thank You
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Reference/Serial
Logged


nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8475
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Reading some documentation would be a good start, meanwhile here's a hint

Serial.write (0xAA);

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Rob for replying back, I know how to use the serial of the Arduino but I had some problems with sending HEX numbers through the Arduino. Thank you again for your reply it helped alot
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Serial.write(0x00); barfs up an error use

Serial.write(byte(0x00));
Logged


Pages: [1]   Go Up
Jump to: