Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Blinking addressable LED with Pic16

Status
Not open for further replies.

drkidd22

Member
I have a project going that will light up a single selected LED on an addressable LED strip (WS2813B) using the microchip CLC on the PIC16F18877.
To light up the desired led a packet is sent over the UART to the pic with commands to set the led position, color, and led brightness.

My next step is to blink the LED at 3 different settings, 1Hz, 2Hz, and 3Hz. This will also be sent as a command over the serial packet to the PIC.
I want the PIC to handle the blinking instead of looping the same serial packet over the serial line, makes sense?
What would be a good approach to get this done? using timer, delay, interrupt?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top