If you want to name a pin use var
And you will need [] in your SERIN statement.Code:SO VAR PORT?.?
And if you are using the software serial (SERIN, SERIN2) then any pin will work if it is digital, pretty much.
If you want to name a pin use var
And you will need [] in your SERIN statement.Code:SO VAR PORT?.?
And if you are using the software serial (SERIN, SERIN2) then any pin will work if it is digital, pretty much.
Dave
Always wear safety glasses while programming.
for example:
SO VAR portc.6 'tx pin for pic16f877a
SI VAR portc.7 'rx pin for pic16f877a
SERIN SI,N2400,["A"],B0 'Wait until the character “A” is received serially
am i correct???
That should do the trick
Dave
Always wear safety glasses while programming.
thanx...i will try it.
Bookmarks