PontusO / mlight-4_2_pmd

4/2 channel LED light controller
1 stars 0 forks source link

channel 5-6 not accessable #32

Closed AndreasKSweden closed 12 years ago

AndreasKSweden commented 12 years ago

Shouldn't there be two digital led channels as well? I cannot access them in the web gui.

PontusO commented 12 years ago

Hold on there pretty boy, I haven't gotten around to them yet =) Busy fixing bugs ya know......

AndreasKSweden commented 12 years ago

:) sorry

PontusO commented 12 years ago

Hehe

PontusO commented 12 years ago

The absolute value action manager has now been configured to support channels 5 and 6 as well. These channels are purely digital and when configuring the manager you can use any non zero value to set a channel. And of course to reset the channel put in a zero there. To use the toggle switch option of the digital event provider type you must type on a non zero value in the configuration. Otherwise it will toggle between 0 and..... aahh well 0 =).

I haven't implemented the support in the ramp manager as it did not feel like a fully understandable feature in that context. But it is quite easy to do so if necessary let me know.

AndreasKSweden commented 12 years ago

Hmm, något är galet. Jag har testat kanal 5 och 6. Kanal 6 verkar ligga hög och kanal 5 låg by default. När jag kört mitt morning event var dock båda höga. När jag körde mitt evening event så hände ingenting på någon av kanalerna. När jag drog strömmen till mlighten så slocknade så klart båda slingorna och när mlighten fick ström igen så tändes kanal 6 direkt.

PontusO commented 12 years ago

Fixed the startup state of the IO pins and removed some stupid debug pin poking. Also included the new channels in the status overview.

AndreasKSweden commented 12 years ago

And now it works! :D