It WAITs for the Synch byte. Look in your PBP manual under SERIN2 for the
WAIT modifier. This forces the SERIN2 line to wait until this specific byte
arrives before receiving the rest of the serial packet.
It WAITs for the Synch byte. Look in your PBP manual under SERIN2 for the
WAIT modifier. This forces the SERIN2 line to wait until this specific byte
arrives before receiving the rest of the serial packet.
Sorry about the late post, and thanks for the help guys! Now I am thinking about the possibility of using the PIC16F628A instead of the 16f84. Will I be able to use the same code and schematics (I think that the PIC16F628A has an internal oscillator; will that mean I can eliminate the external oscillator?)? Thanks for the help!!
-Mike
you can use the same schematic and probably the same code. But look at the the 16F628 Specs... it have an internal USART. More reliable than a software solution and produce a tighter code. HSERIN, HSEROUT that's it.
About skipping the external OSC... it could work good or not. Usually for serial comm i prefer to use a crystal for a better stability upon the temperature variation. The internal OSC is still a RC circuit... But try it before at slow baudrate and it could work great.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks