yea i m using the max232 chip and i m using the 9600 baud rate!
the serin can be modified for my purpose but i need how?
yea i m using the max232 chip and i m using the 9600 baud rate!
the serin can be modified for my purpose but i need how?
Hi,
========================================
5.68. SERIN
SERIN
Pin,Mode,{Timeout,Label,}{[Qual...],}{Item...}
Receive one or more Items on Pin in standard asynchronous format
using 8 data bits, no parity and one stop bit (8N1). SERIN is similar to
the BS1 Serin command with the addition of a Timeout. Pin is
automatically made an input. Pin may be a constant, 0 - 15, or a
variable that contains a number 0 - 15 (e.g. B0) or a pin name (e.g.
PORTA.0).
========================================
With the SERIN command you can receive one or more Items.
Declare four variables for your four bytes. These four
variables will be the "Items" of the SERIN command.
Read the PicBasic Pro manual, search this forum.
If you need help, post your code and the members of this
forum will help you to fix your code.
Best regards,
Luciano
Bookmarks