Hi,
Russ is right about the LED. You are showing it backwards. Steve B is right also. There are more than enough examples of timers, blinking LEDs, and start/stop programs on this forum that if you sat down and organized them all, you would have a book on beginning to work with PICs. If you are looking for the quick fix, it ain't happening here. We will all be glad to offer advice once you have made some effort to try programming. Also I think you should connect your push button to the ground side of the circuit and make the resistor a pullup instead of pull down. (Nothing personal just a preference. This way you won't have to program the pin in an extra step.)
Go to CODE EXAMPLES and SCHEMATICS to start your search.
Good luck. When you get stuck, then ask!
BobK
Bookmarks