breeti109 wrote:I've attatched the libray I made here. I've added some compatibility headers for arduino, based on the original library, but I have no idea if it will work properly on arduino.
(15.24 KiB) Downloaded 46 times
I just happened to have a PIC18F4550 lying around...
This code doesn't work as presented, yet we can clearly see that it does. The uploaded version must not be the final version. There is an error in scrollingtext.c :- "message is undefined" Go to line 135 and change the word message to message1.
There are also some configuration errors apparent that relate to other PIC18F types and not to the 25xx or 45xx devices specified in the article, however they are valid in other contexts. Ideally thse could be set up as hardware definitions.
They are "BOREN" and "OSC". This latter "OSC" variable is assigned the non-existant value "INTIO67"
Similarly, the real config variables CCP2MX and OSCTUNE are asigned values that don't exist. They are "PORTBE" and "PLLEN" respectively.