Almost complete feature hog :P

Share you PDE file with our community
Post Reply
Deckoz2302
Posts: 149
Joined: Tue Nov 01, 2011 11:05 am

Re: Almost complete feature hog :P

Post by Deckoz2302 »

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
User avatar
JNieuwenhuizen
Posts: 96
Joined: Thu Feb 16, 2012 12:39 am
Location: South Africa

Re: Almost complete feature hog :P

Post by JNieuwenhuizen »

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.
abhi_123
Posts: 217
Joined: Tue Mar 20, 2012 8:34 am

Re: Almost complete feature hog :P

Post by abhi_123 »

Hi,

i am planning to use your pwm code for 2 led channels only.

what modification should i do to make it work for.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Almost complete feature hog :P

Post by lnevo »

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...
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Almost complete feature hog :P

Post by lnevo »

FYI...I just got bitten by this code since Timer[4] is used for the portal timer...

Code: Select all

    ReefAngel.Timer[4].SetInterval(10); // Timer for 30min
    ReefAngel.Timer[4].Start();
Might want to modify your example so other people don't get bitten too :)
User avatar
Rodasphoto
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
Contact:

Re: Almost complete feature hog :P

Post by Rodasphoto »

Tagging along so I can do this in the future.
Image
Post Reply