Serial out multiple hex


hello,

i can send out string of text using software serial....

myserial.print("some text")

but how send out string of hex? @ moment using.

myserial.print(0x00);
myserial.print(0x00);
myserial.print(0x00);
myserial.print(0x00);

which works prefer have on 1 line.

thanks

yeah kidding myself there needed following,

 driveserial.print("@");
 driveserial.print("a");
 driveserial.print(0,hex);
 driveserial.print(0,hex);
 driveserial.print(0,hex);
 driveserial.print(0,hex);

still, have them on same line.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial out multiple hex


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums