IÂ'm trying to use serial port in MCB2900 with LPC2919 processor and I couldnÂ't make scanf function to receive data from PC. Is there some code there for my target? IÂ'm looking for it but i havenÂ't seen anything
Nothing about scanf functions sorry
scanf is a standard 'C' library function - so any 'C' textbook will do!
Also search the forum for "scanf" for the many previous discussions...
But, again, have you tested your basic serial IO before moving on to scanf - or anything else?
Printf is ok, but i am trying to receive data from PC and i couldnÂ't with scanf
But can you do it without scanf?
Obviously, if the basic serial reception isn't working, then nothing higher up the chain - like scanf - can possibly work!
And, again, scanf has a whole pile of issues all of its own - have you done that search yet?
Yes, i have made the scanf code search and i found some, but any code about LPC2919. I have found another processors code with scanf function. I think i have to modify retarget.c file to use scanf. I follow the others target code but in my case does not work.
And what was the consensus about whether scanf was a good thing to use...?
eg, see the 1st reply in this thread: http://www.keil.com/forum/docs/thread7600.asp