OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) PHP based Interval Program Re: Re: PHP based Interval Program

#23769

zither911
Participant

@ndboost wrote:

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

Go watch the video i posted to understand the logic. the mappings are in this thread : viewtopic.php?f=28&t=109