I tried whole day today to make this code work via my PC but unfortunately it didn't worked. The serin command is not working at all. I tried using MAX232 and sent data via PC after setting correct baud rate and other settings, but no results at all.
The interrupt and whatever is in ISR, is working fine. Though the weak internal pullup for PortA.0 & 1 didn't worked (I wonder why), but I managed with external pullups for them.
Sending o9* via my PC does not put pin5 high. I tried it nearly million times today.
Can oscillator be the culprit?
As explained in the above post, my PIC went dead when I tried using DEFINE OSCCAL_1K 1. So I removed that statement and kept trying but
I really need some help to make it work with Serin command.
Bookmarks