Use Serin to put a byte into 'var' ; If you don't use an RS232 level converter, you will need to do it with the Serin statement. Check the manual.
PortB = var
high PortA.0
Use Serin to put a byte into 'var' ; If you don't use an RS232 level converter, you will need to do it with the Serin statement. Check the manual.
PortB = var
high PortA.0
I agree with RON MARCUS.
The PIC16F84A does not have a serial port, so you MUST use SERIN and/or SEROUT.
As stated by SKIMASK, you need to define which compiler you're using.
And on a personal note:
It appears you need homework done. I recommend reading the sample programs provided in the PBP folder.
PS: Forgive my english, it's a little rusty.
Or Perhaps, If we knew what kind of Bacon you were Bringing to the table?
<table><tr><td><img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2556&stc=1&d=120978075 6" width=210 height=157 /></td><td><img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2557&stc=1&d=120978075 6" width=210 height=157/></td></tr></table>
The one on the left could inspire me to write a whole program!
The one on the right... not so likely.
<br>
DT
Bookmarks