Posted 29 June 2012 - 08:34 PM
Hello, I am making an IC2 power plant to service my SMP server's town, so I need a way to accurately measure my client's Energy consumption to bill them. I have a set up (picture at end of post) where the computer is getting a redstone input from the left side and on the bottom there is a redstone switch to turn off power.
I need my program to do the following things:
1. count the amount of ticks the left input is on and multiply it by 32 and store that in a value and send it over wireless to another computer live.
2. if that value goes over 40000 then the bottom side emits redstone.
3. if the computer gets the string "stop" from a certain computer (over rednet), the bottom side will emit redstone.
4. if the comuter gets the string "start" from a certain computer (over rednet), the bottom side will stop emitting redstone
I need my program to do the following things:
1. count the amount of ticks the left input is on and multiply it by 32 and store that in a value and send it over wireless to another computer live.
2. if that value goes over 40000 then the bottom side emits redstone.
3. if the computer gets the string "stop" from a certain computer (over rednet), the bottom side will emit redstone.
4. if the comuter gets the string "start" from a certain computer (over rednet), the bottom side will stop emitting redstone