This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Zambonie's profile picture

(Q)Receving an redstone input.

Started by Zambonie, 29 December 2012 - 01:32 PM
Zambonie #1
Posted 29 December 2012 - 02:32 PM
So,I have downloaded redpower 2,and I am ateming to make my computer house's lights better by ussing solar panels.And so,I proboly want to know how can I use redpower cables to let know the computer that the solar pannels have found sunlight and turn on the lights.So,any ways?
Zambonie #2
Posted 29 December 2012 - 02:39 PM
No answers:(
Kingdaro #3
Posted 29 December 2012 - 02:45 PM
Redpower appears to have a light sensor block, but I'm not sure how it works. I tested it and it appears to give a redstone signal regardless of what time it is. It'd be nice if someone else could shed more light on the subject.

Also, you'll usually have to wait more than seven minutes for a reply. As someone else stated before, this isn't an instant messenger.
Zambonie #4
Posted 29 December 2012 - 02:54 PM
Well,I know,Thats why I installed backup battery,but,Is there any code?
Kingdaro #5
Posted 29 December 2012 - 03:15 PM
Just looked it up, you apparently have to hold shift and right-click the light sensor with a screwdriver or sonic screwdriver to change it's accepted light level to emit a redstone signal. By default it's 1, and it changes to 5, 9 and 13 respectively. Daylight is 15, and moonlight is 4, so 9 or 13 should do the trick. http://technicpack.wikia.com/wiki/Light_Sensor
remiX #6
Posted 29 December 2012 - 10:32 PM
Or you can have a code check the minecraft time and change it accordingly.