That 'ruf bot' code has been posted at that site for quite some time, and I don't think the author would intentionally leave it posted if it didn't work.
So, since you are just beginning in PICs...
Do you have a PIC programmer? Which one?
Do you have PicBasic or PicBasicPro from MeLabs or one of their distributors? Which version?
Which errors did Microcode Studio give you? Which version of MCS are you using?
Have you built a plain ol' 'Blinky LED' type thing yet?
Have you tried to build anything more complicated than that? More than one LED? Pushbuttons lighting LEDs? Pushbuttons controlling servo's?
Don't try and tackle the whole thing at once from the get-go...you'll get discouraged and quit before you even get started... You didn't learn how to drive in a high-performance sports car...
Break it down, simple stuff first, combine the simple stuff into not-so-simple stuff, then put it all together...
EDIT: In other words, just what SteveB said (which I would've had notice had I bothered reading...)





Bookmarks