Documentation ¶
Overview ¶
Package shifter is for 8bit shift register, most common are 74HC165 and 74165
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { Pins []ShiftPin // contains filtered or unexported fields }
Device holds the Pins.
func (*Device) Configure ¶
func (d *Device) Configure()
Configure here just for interface compatibility.
func (*Device) GetShiftPin ¶
GetShiftPin returns an ShiftPin for a specific input.
func (*Device) Read16Input ¶
Read16Input reads the 16 inputs and return an uint16
func (*Device) Read32Input ¶
Read32Input reads the 32 inputs and return an uint32
func (*Device) Read8Input ¶
Read8Input reads the 8 inputs and return an uint8
Click to show internal directories.
Click to hide internal directories.