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 updates the internal pins' states and returns it as an uint16.
func (*Device) Read32Input ¶
Read32Input updates the internal pins' states and returns it as an uint32.
func (*Device) Read8Input ¶
Read8Input updates the internal pins' states and returns it as an uint8.
Click to show internal directories.
Click to hide internal directories.