i2c.writeBits (METH)ΒΆ
METHOD writeBits : BOOL
This method is used to modify single bits of one register.
- InOut:
Scope
Name
Type
Comment
Return
writeBitsBOOLTRUEif successfulInput
usiRegisterUSINTregister
usiFirstBitUSINThighest value bit to write (0..7)
usiLengthUSINTnumber of bits to write (1..usiFirstBit+1)
usiValueUSINTvalue of the bits to set (0..2^usiLength-1)