Random 8+ LED Flasher

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

Reply to
electfire
Loading thread data ...

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

Reply to
electfire

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); } }

Reply to
Chuck Harris

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.