aftab
- 22nd August 2007, 04:25
This is in reference to the example:
http://www.rentron.com/four-channel-ad.htm
In this example of Analog-Digital conversion what is the format of RESULT[X]
that is sent to the computer serial port ? i.e. binary or ascii ?
SEROUT GPIO.5,N2400,[1,RESULT[0],2,RESULT[1],3,RESULT[2],4,RESULT[3]]
Unsure of the format, if I put # like:
SEROUT GPIO.5,N2400,[1,#RESULT[0],2,#RESULT[1],3,#RESULT[2],4,#RESULT[3]]
will the result to PC serial port be in ASCII format ?
I would like to get it in ASCII format.
Thanks
http://www.rentron.com/four-channel-ad.htm
In this example of Analog-Digital conversion what is the format of RESULT[X]
that is sent to the computer serial port ? i.e. binary or ascii ?
SEROUT GPIO.5,N2400,[1,RESULT[0],2,RESULT[1],3,RESULT[2],4,RESULT[3]]
Unsure of the format, if I put # like:
SEROUT GPIO.5,N2400,[1,#RESULT[0],2,#RESULT[1],3,#RESULT[2],4,#RESULT[3]]
will the result to PC serial port be in ASCII format ?
I would like to get it in ASCII format.
Thanks