JeffreyPeter
New Member
Hi, How to link two microcontrollers together do I have to use max232 or by directly coupling their rx tx terminals ?
Thanks in advance.
Thanks in advance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Probably you are sending faster than you can receive. Try a small delay between each byte. or Slow down the speed.I'm having difficulty in sending byte array from MC1 to MC2. Some Bytes are missing...
SerTx: jnb TI,SerTx ;wait here for TI flag to go high
clr TI ;TI flag high, clear TI flag
mov SBUF,#<TXBYTE> ;write transmitting byte to SBUF
ret ;done
SerRx: jnb RI,SerRx ;wait here for RI flag to go high
clr RI ;RI flag high, clear RI flag
mov A,SBUF ;received byte to accumulator
ret ;done