Projects.zip is beautiful! Looks like exactly what I need! Thanks a bunch!! Regards Magnus -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@mitvma.mit.edu] F=F6r Nelson Hochberg Skickat: den 6 september 2002 16:23 Till: PICLIST@mitvma.mit.edu =C4mne: Re: [PIC] Would appreciate code snippet to get me started http://www.bubblesoftonline.com/projects.zip > > I have been trying to get started with PIC programming for a couple of > weeks now, but am having trouble getting something done. I read the=20 > books but it seems like there is so much PIC-specific to learn before=20 > it's possible to even blink a LED. I have better experience in=20 > learning as I go...even though that probably takes longer time. The=20 > problem here is I can't 'go' at all... "Iv'e fallen, and I can't get=20 > up." :) > > 1. Does anyone have a nice piece of code that blinks a LED? I'm using=20 > the 16F84/84A and the 16F628. Preferably with some comments so I can=20 > figure out what it does and why. > > 2. My dream project is to design an awesome light-kit for an R/C=20 > model. How should I go about decoding the PWM-signals from the=20 > reciever? Should I count the milliseconds manually through the code,=20 > or is there a clever system that does this for me? I need to know=20 > whether the PWM pulse is between 1-1.4ms, 1.4-1.6ms or 1.6-2.0ms. Any=20 > design hints are appreciated! > > Thanks in advance > > Magnus von Rosen, Sweden. > > -- > http://www.piclist.com hint: The PICList is archived three different=20 > ways. See http://www.piclist.com/#archives for details. > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.