Jpts Guest
|
7 bits data |
Posted: Fri Sep 04, 2009 8:02 am |
|
|
I am developing a hardware PIC to read and treat string data from a electronic balance. The string send from balance is the weight. After some test, I noted that functions like, gets(), if (data_wheight == any), etc.. does not work ! I did some project before using these command and work fine, but in this particular project, it’s not working. Reading the balance manual, its inform me that transmit data in 7bit instead 8 bits. Funny is when a printf back the data read from the balance to a HyperTerminal, its print OK !
Do I have to included any command line to make functions above to work properly reading 7 bits data ?
Tks, Jp |
|