AWOL:
'EFINE HSER_TXSTA 20h
You're quite sure nothing is missing?
the apostrophe (') at the beginning of that line prevents it from being compiled. That particular define was added when I was trying to use hserin instead of serin, that line was disabled (and the "d" deleted with no consequence) when I switched.
'DEFINE HSER_TXSTA 20h
P18F4550:
just send one or two characters, until you KNOW that communication is happening
I'd go with that,
is that proton basic?
why would you need to use a pic in conjunction with atmega? one or other should be more than capable alone
It's picbasic pro running on MXC studio, compiled with melabs pro.
I have already tried just sending single bits/characters, with no result. I even tried sending simple strings to make an LED blink, nothing. I've been struggling with this for a couple weeks and I've tried everything everyone else I've talked to has suggested (my lab TA's, my professor, previous students, EE/ECE students, you name it).
The reason I'm using both is once I have this serial issue resolved we plan on having them communicate wirelessly (I know, I know, I can't even resolve a simple serial issue, why on earth would I still consider wireless at this point, right???.....wireless isn't my concern right now, someone else in my group is working on that). But I'm using the pic instead of an arduino because it's a requirement to use a pic for my class project (serial isn't part of the requirement, and the programming "skills" we've learned in class for the pic have been all but worthless). We're mechanical engineering students trying to set up a two-way remote control for a simple UAV. The UAV flies just fine when we set it up with conventional RC equipment, now we have to set it up with the requisite hardware.
I'm using single wires for serial communication until we know that it works, then move to wireless.