Serial.Read Not receiving zeros


hey,
im having headache serial.read() function.

im sending "0x08" , receiving "8" , need receive "08" , possible?
already spent hours trying way.


my code:
quote
int inc =  serial1.read();   or  byte inc2 =  serial1.read();   
inc "8"

can can me?

thanks in advance.
ff

you have 8 bit number contains 0x08. 0 there not being printed, might print "9" when receive decimal "09".

what real issue? want print 0?


Arduino Forum > Using Arduino > Programming Questions > Serial.Read Not receiving zeros


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts