: retval = read (register)
: retval = read (register, precision)

read a value from the shift register.

Inputs

register - shift register created from shiftRegister call.

precision - optional precision of the data, where precision can be a number in a multiple of 8 (ie: 8,16,32) or can be a named integer type: 8 of ’uint8’, ’uint16’, ’uint32’. The default precision is 8.

Outputs

retval - returned data read from the register.

See also: shiftRegister, write.

Package: arduino