just a question...
if the battery's dead, what's powering the red light? :P
I've recently created a extremely simple yet powerful Wire ELECTRIC MOTOR!!!
Anyway... I need a simple battery to operate it.
Battery power is the constant which can be changed. Let's say it is like 300 units, so when the throttle is at 50, 300/50=6
So at 50% throttle, the battery will lose 1& of charge every 6 seconds.
But when it hits 0 it needs to stop, and output 1 to light up a red light.
And so on, I could really use this help!
Perhaps an expression gate?
Thanks!
just a question...
if the battery's dead, what's powering the red light? :P
E-gate
Just change the battery = value to the number of units in the batteryCode:I@Throttle Recharge O@Empty Battery interval(1000) Minus = 17 first() | Recharge -> Battery = 300; Throttle > 0 : Sec = Battery/Throttle ? Sec = 0 clk() -> Time += 1; Time >= Sec -> Time = 0, Battery -= Minus; Empty = Battery <= 0
and the minus value to how much the battery should loose in X seconds.
Actually, this E-Gate would be better since the other one would allow you to drive around and stop throttling at the right time and not have battery eaten.
should work betterCode:I@Throttle Recharge O@Empty Battery interval(1000) Minus = 17 first() | Recharge -> Battery = 300; Throttle -= (Minus / (Battery / Throttle)) * clk() Empty = Battery <= 0
works teh same as teh other
Creator of this [url="http://www.wiremod.com/index.php?showtopic=1738"]Ram controller[/url]
[url="http://profile.xfire.com/nluoykcuf"][img]http://miniprofile.xfire.com/bg/co/type/2/nluoykcuf.png[/img][/url]
[b]Click here if u experience wiremod error [url="http://www.wiremod.com/index.php?showtopic=2941&st=0&gopid=27136&#entry27136"]Problems[/url][/b]
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature.
98% of teens smoke, or have smoked before in their life. If you are part of the 2% that hasn't/doesn't, copy this into your sig.
[quote]It ain't broken, it just lacks ducktape[/quote]
Get me a hamster model![]()
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
Bookmarks