Hi Robert, Glad to se i'm not the only one close to montreal here.
MBASIC can process SPI communication with any I/O pin through software. It does not necessarily have to use a pin designated for SPI, like pins RC3,4 and 5 on the PIC 16F877; labelled as SCL, SDA and SDO respectively.
I am having some serious problems trying to get a PIC 16F628 to perform SHIFT IN/OUT commands with PIC BASIC Pro and I was wondering if my problem was with my selection of chips.
i'm about to think you're using the PORTA. Add this line to the top of your code
CMCON=7
This one disable the internal analog comparator.
If it's not working, can you provide your code here. That way it will be more easy to see what you do.
regards
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks