PiFaceCaD.writeBit (METH)ΒΆ
METHOD writeBit : BOOL
This method is used to modify one bit of a certain register: It first reads the register, modifies the bit and then writes the register (no matter if the bit already had the desired value) return value: TRUE if successful
- InOut:
Scope
Name
Type
Comment
Return
writeBitBOOLInput
byHardwareAddressBYTE (0..7)
hardware address
byPortBYTEport number to read
byBitBYTE (0..7)
bit number to read/write
xValueBOOLvalue to write