Thread: Send Byte
View Single Post
  #1   Spotlight this post!  
Unread 17-01-2005, 23:29
the_undefined's Avatar
the_undefined the_undefined is offline
German FES
AKA: Felix Geisendörfer
#1648 (Gearbox Gangstas)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Germany
Posts: 77
the_undefined has a spectacular aura aboutthe_undefined has a spectacular aura about
Send Byte

Hi everyone,

I guess this should be a easy question but I couldn't find the answer anywhere. How can I use the prinft() function to send a single byte (or a couple of them) over the serialport but not as a string like printf("MyByte: %d", (int)myByte); would do. So when I send 32 for example I would like to have just one byte send not 2 ... Sry if I explained that bad but I hope its understandable ...

Thanks in advantage,

bye Felix