Random 8+ LED Flasher

Jul 23, 2007 2 Replies

Does anyone have a schematic for a 8(or more, you now what they say the more the better) LED Flasher that will flash LEDs in a random sequence



you can email me at snipped-for-privacy@gmail.com

o +5V |

+-----+------+ | 1 | | | | PIC16F631 | | | | 16|--270------ALED1C----+ | 15|--270------ALED2C----+ | 14|--270------ALED3C----+ | 7|--270------ALED4C----+ | 6|--270------ALED5C----+ | 5|--270------ALED6C----+ | 8|--270------ALED7C----+ | 9|--270------ALED8C----+ | | | | | --- | | /// | | | | | 20 | +-----+------+ | --- ///

Compile the text below with CCS's C compiler model PLM:

#include "16F631.h" #fuses INTRC_IO,NOMCLR,NOWDT,NOPROTECT,BROWNOUT #use delay(clock=8000000)

void main() { while(1){ output_C(rand()); delay_ms(250); } }

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required