PDA

View Full Version : Herin Qualifier



MORAND
- 5th May 2004, 15:10
Hi,
I'm a newcomer in MEl Picbasic Pro programmers. I would like to receive a byte array of six caracters PHvalue beginning by STX caracter ( decimal 2 in ASCII table ) and ended wit ETX caracter ( decimal 3 in ASCII table); i use a PIC16F877 at 4MHz
is the following code correct?

PHvalue var byte[6]

HSERIN 1000, timeout,[ WAIT(2),STR PHvalue\6\3]

Thanks for your reply,

Marc

Dave
- 5th May 2004, 16:56
Yes, You are correct.

Dave Purola,