OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › PHP based Interval Program › Re: Re: PHP based Interval Program
June 6, 2013 at 4:40 am
#23768
ndboost
Participant
Can someone chime in and provide some lamen term explanation of how the ipensprinkler interval program function
def setShiftRegister(srvals) works? What do each of these defined pins map out to?
I am trying to translate this python code to ruby.
pin_sr_dat = 27 #Use for rev 2 Pi
pin_sr_clk = 4
pin_sr_noe = 17
pin_sr_lat = 22