|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Suspicious pointer conversion
Ive tried looking the answer up in several places and I can't seem to solve it.
Code:
unsigned int analog=(unsigned int)Get_Analog_Value(rc_ana_in01); printf(analog); PROBLEM SOLVED CLOSE THREAD/NO MORE POSTS Last edited by ebowla : 26-01-2008 at 12:13. |
|
#2
|
|||
|
|||
|
Re: Suspicious pointer conversion
printf doesn't work that way
You need to have a string, even if your just printing a single int so you'll need to write it like this Code:
printf("%d\r\n", analog); //\r\n for newline
|
|
#3
|
||||
|
||||
|
Re: Suspicious pointer conversion
thanks, yea I figured it out on my own with the help of a mentor(who JUST showed up) I apprieciate the help.
PROBLEM SOLVED, CLOSE THREAD/NO MORE POSTS |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Batch WMV Conversion | Greg Marra | Technical Discussion | 4 | 06-03-2007 17:07 |
| playstation controller conversion | jpyro | Electrical | 6 | 31-01-2006 17:52 |
| laser pointer | 1574aviad | Technical Discussion | 9 | 20-02-2005 20:25 |
| PBASIC Conversion | Noah | Programming | 10 | 07-01-2003 23:33 |
| Suspicious Change to FIRST FAQ | Mike375 | General Forum | 2 | 28-09-2001 20:24 |