Try re-writing with out the str , something like
from the manual
Or better yet just send/receive a simple 5 and blink an LED to test the connection,SERIN2 1,16780,[WAIT(“A”),B0]
I think the problem is in the way you are trying to receive the data. Take another look at SERIN2 in the manual, WAITSTR might be the answer.
Bookmarks