View previous topic :: View next topic |
Author |
Message |
artohautala
Joined: 17 Nov 2011 Posts: 187
|
how to send hex numbers via RS232 line? |
Posted: Fri Feb 17, 2012 9:50 am |
|
|
Hi,
I'm very abashed how to send numbers RS232 line because function putc()
sends only characters?
please tel me how I'll send numbers instead of characters?
best weekend for you all ! |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Fri Feb 17, 2012 9:58 am |
|
|
Press F11 when your project is open. On Screen HELP comes up.Find the 'functions' menu...look for 'printf'.
It will show and tell you how to send data in various formats.
Printf means print using format
You can keep the HELP screen open,just minimize it, as a very,very handy FAST reference to most of the compiler info you need! |
|
|
artohautala
Joined: 17 Nov 2011 Posts: 187
|
|
Posted: Fri Feb 17, 2012 10:14 am |
|
|
temtronic wrote: | Press F11 when your project is open. On Screen HELP comes up.Find the 'functions' menu...look for 'printf'.
It will show and tell you how to send data in various formats.
Printf means print using format
You can keep the HELP screen open,just minimize it, as a very,very handy FAST reference to most of the compiler info you need! |
Oh my God ... I forgot whole printf() function
I thought putc() is the only way to send things...
Sorry and many friendly thanks for your advice ! |
|
|
|