Go to Post Because nothing says safety like carrying a 150lb robot across a field covered in golf balls. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
Interfacing a second Micro to the RC Matt Reiland Programming 3 08-06-2003 00:11
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
The message FIRST is trying to send... and we should hear... archiver 2001 10 24-06-2002 00:03
Send me your pictures! archiver 2000 0 23-06-2002 22:02


All times are GMT -5. The time now is 10:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi