Now consisting of just 2 instructions, this must be the world's shortest Microchip PIC flashing LED program. And this time I explain how it works.
Good morning all…
Youtuber, shed dweller, solar charge controller aficionado
This site uses Akismet to reduce spam. Learn how your comment data is processed.
It's not two instructions. It's 4096 instructions. It's just that you only wrote two of those 4096 instructions. ๐
It's still a clever way to make the LEDs flash, though.
I've done a 16-instruction program which sweeps 4 LEDs back and forth on port A of the 16F84A. Next on my list is to do a 4-player "first player to press the button wins" game, with a different sound for each player.
I was surprised on the specs of the 16F690. I might start using it more than the 627/8
Ah, the hacks of low-level programming…
Clever! And thanks for explaining it so well! I only have a novice understanding of assembly but this makes sense. Stuff like this is also why I love assmbly
Hi Julian, I have this Pickit 2,16F690 and the lowpin board but cant find a simpel program thats turn the led on by pushing sw1
It is the full code
Men show the full code that not is the full code
Try the Arduino – blinking LEDs made easy
Hi. I need some help and I hope you can give me the information I need. I build models at home and I some times put LEDs in my models to make them look good. I'm building a Star Trek ship and need to put some led's in it. You can pay the lights and chips from a web site trekmodeler but it is in the USA and a lot of money to but. Do you know if I can make my own circuit board and blinking lights. Thanks sir.