...... But still gettin wiered symboles when i send from pic to the pc . I want to send dec and ascii but i donno how
Mus.me, all the ascii from 0 to 31 will give you wierd symboles, and 32 will show nothing because is space. This is the reason why you use the notation DEC before the variable to Tx.
If you want to receive both decimal and ascii you can Tx twice the variable
Serout2 SO,390,[DEC B0, " ", B0,13,10]
or you can select in which format to send out the variable depending on its value
IF B0<33 Then
Serout2 SO,390,[DEC B0,13,10]
ELSE
Serout2 SO,390,[B0,13,10]
ENDIF
Al.
All progress began with an idea
Bookmarks