Almost complete feature hog :P
-
- Posts: 149
- Joined: Tue Nov 01, 2011 11:05 am
Re: Almost complete feature hog :P
I can and will soon - tank has been on cruise control for a few months lol. Now I need to update libraries and all the other fun stuff that's been going on
- JNieuwenhuizen
- Posts: 96
- Joined: Thu Feb 16, 2012 12:39 am
- Location: South Africa
Re: Almost complete feature hog :P
Hi Deckoz2302.
I have 5 Led channels , Channel 1 , 2 , 3 , 4 being white and blue, and channel 5 being colours.
I am using your pwm code - how would I set it up to switch on channel 1 , then 2 then 3, then 4&5 with 30 min delay on each? that would give a sunrise effect, and the same with sunset, channel 1, then delay channel 2 with 30 min, then channel 3 with 30 min then channel 4&5 with 30 minutes.
I have 5 Led channels , Channel 1 , 2 , 3 , 4 being white and blue, and channel 5 being colours.
I am using your pwm code - how would I set it up to switch on channel 1 , then 2 then 3, then 4&5 with 30 min delay on each? that would give a sunrise effect, and the same with sunset, channel 1, then delay channel 2 with 30 min, then channel 3 with 30 min then channel 4&5 with 30 minutes.
Re: Almost complete feature hog :P
Hi,
i am planning to use your pwm code for 2 led channels only.
what modification should i do to make it work for.
i am planning to use your pwm code for 2 led channels only.
what modification should i do to make it work for.
Re: Almost complete feature hog :P
Deckoz, looks like you've got the code I need in here for calculating Sunrise and Sunset... I'm not going to be using dimming at the moment, so just wondering if you have any pointers on what to pull / ignore, etc. from your PDE. I'll be analyzing it later when I have some more time, but this looks like the place to start...
Re: Almost complete feature hog :P
FYI...I just got bitten by this code since Timer[4] is used for the portal timer...
Might want to modify your example so other people don't get bitten too
Code: Select all
ReefAngel.Timer[4].SetInterval(10); // Timer for 30min
ReefAngel.Timer[4].Start();
- Rodasphoto
- Posts: 187
- Joined: Wed Apr 10, 2013 2:48 pm
- Location: Athens, Ga
- Contact:
Re: Almost complete feature hog :P
Tagging along so I can do this in the future.