I wrote a similar sketch for the PIC18F2550 ( a slight modification can adopt it to almost all pic18F2/4 family). the sketch and the instruction can be found over here:

https://sites.google.com/site/thehighspark/arduino-pic18f

Damn ! Project already done ! Well, I'll still try to do it, at least to understand the ICSP method and achieve implementation by myself.But, even so I am disgusted ! >.< I was caught up again ! Just my luck !

Hey all! sorry for answering so late but I have been busy with a lot of homework :sI have to say I am not sure I will be able to work again on this project because it involves a lot of time (coding a programming method for nearly every pic!).What Is suggest is that someone who is really motivated gathers all the programming methods for each pic to make one nice prog.

But personnaly I would prefer the beaglebone to the raspberry pi The beaglebone looks more like an arduino (you can easily access the inputs/outputs and and shields) and is more powerful than a raspberry pi, even if it's a bit more expensive.