I want to control the overoll neopixel strip brightness when I turn the preset.
I use a PIC12F683 & doing analog read in potentiometer. When I turn it I get 8 or 16 values (Scalled down the 5V to 8 or 16 values.).
So now I have nice number from 1 to 16 & want to scale down the Strip bytes values (Red Byte, Green Byte, Blue Byte) from these numbers.
Need a small idea on my approach.
Thanks.
I use a PIC12F683 & doing analog read in potentiometer. When I turn it I get 8 or 16 values (Scalled down the 5V to 8 or 16 values.).
So now I have nice number from 1 to 16 & want to scale down the Strip bytes values (Red Byte, Green Byte, Blue Byte) from these numbers.
Need a small idea on my approach.
Thanks.