Raised This Month: $ Target: $400
 0% 

Light an area (How to ?)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 06-10-2007 , 12:24   Re: Light an area (How to ?)
Reply With Quote #8

I Think this:
Code:
write_byte(8);     // life in 10's
means the light stays 8/10 seconds...

Now use this
Code:
write_byte(10);    // life in 10's
and do a set_task(1.0, ....)
and the task should repeat 30 times..0o
Maybe add a second dlight at the half time to prevent flickering..
It should then pulse or something...
Or maybe adjust the "decay" thingy ;)

greetz regalis
__________________
regalis is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode