Hello
I want a sample program in pbp, I want to send
15 bytes by the bias of an RF module 433 MHz and receive
On another module.
thank you
Hello
I want a sample program in pbp, I want to send
15 bytes by the bias of an RF module 433 MHz and receive
On another module.
thank you
Have you searched the forum for examples? There a plenty out there.
Can you send and receive the data with wires?
Dave
Always wear safety glasses while programming.
Hello
I will test this way?
touche VAR BYTE
name0 var byte
name1 var byte
name2 var byte
name3 var byte
i var byte
ID Var Byte
envoi:
SEROUT2 PORTA.3,T9600,["SYN",ID,name0,name1,name2,name3]
GOTO debut
reception:
Serin2 PORTA.3,T9600,[wait("#SYN"),ID,name0,name1,name2,name3]
GOTO debut
Hello
Thank you for your help, do you have a sample program.
I want to transmit and receive 24 bytes.
thank you
If your data are always 24, then use an array, load the date at the array elements and then send the array.
I 'd use Hserout if my controller has hardware USART.
Hserout [STR array\24]
or
SerOut2 port,mode,[STR array\24]
Ioannis
Bookmarks