Turning the Lighs on using A PIC16

A project log for Flexible Coffee Cup Buddy

The aim of this project is to design a flexible PCB that can be attached to a coffee cup and will visually represent the temperature.

Billy-BogardusBilly-Bogardus 10/21/2019 at 17:470 Comments

Wrote some code to bit-bang the control sequence, but nothing was happening.

Turns out the delay statements I was using were causing too much of a delay.

In googling the problem, I found a blog post on Steve Phillips website. see I saw he was just using a few NOP() functions which tells the microcontroller to do nothing over the next few cycles.

If you want to see the code it can be found on git hub.

Ws2812b with pic16 on a flexible PCB