Hey guys, I was wondering if someone could help me with figuring out how to properly use the 16 channel dimming expansion so that it is using all 4096 levels of dimming. I have been looking around the forum and this is how I am currently TRYING to do it:
ReefAngel.PWM.SetChannelRaw(0,PWMSigmoidHighRes(9,0,21,0,0,4095,0);
When I use this code, it starts ramping up at 9 but by 9:05, the lights are really bright and then they just shut off. What could be my issue?
Trouble dimming with the 16 channel expansion
4 posts
• Page 1 of 1
What if you use a different waveform?
PWMSlopeHighRes or PWMParabolaHighRes? Roberto.
|
|
Sorry for the late reply. I will try those waveforms tonight.
However, I did try:
With that, they all dimmed very well, but they all dimmed together, I set an offset of 5 minutes difference for each channel, but that didn't work. I also tried:
With that, I liked the slope better (I think), but it still all dimmed together, and it never went down to 0, just really low. Both of the above examples also had this in the code:
|
|
The last number is not offset.
Here is the function in the libraries:
If you want offset, you need to use this:
Roberto.
|
|
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest