MrDEB
Well-Known Member
If I understand this correctly, I get each led color matched to current draw so all three colors are even.
Then I need a method to vary the duty cycle on the Blue and Green leds as per the hex information on the chart.
Sounds easier than the route I have gone BUT I then need to come up with a code to output the correct duty cycle as per chart.
When I get back later today I am going to invistagate this idea as it might work with the code using DUTYVAL etc instead of the one I wrote using CONST ARRAYS.
Then I need a method to vary the duty cycle on the Blue and Green leds as per the hex information on the chart.
Sounds easier than the route I have gone BUT I then need to come up with a code to output the correct duty cycle as per chart.
When I get back later today I am going to invistagate this idea as it might work with the code using DUTYVAL etc instead of the one I wrote using CONST ARRAYS.