I've bought this controller http://www.futurlec.com/PIC18F8722_Controller.shtml and want to start using them as controllers for various projects and am wanting some sample code, I've been using PBP for a while but am only an entry level user. Am currently trying to get my board to do a blink type program but having no joy at all - I get loads of errors. here's my code:
TRISH = 0
porth = 0
Start:
porth.0 = 1
pause 50
porth.0 = 0
pause 500
goto start
I guess I have to load up a ton of configs before hand. But just don't understand them that well and can find datasheets a little confusing at times, some simple code to get me running would be really appreciated.
Thanks
George
Bookmarks