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

writeBit

BOOL

Input

byHardwareAddress

BYTE (0..7)

hardware address

byPort

BYTE

port number to read

byBit

BYTE (0..7)

bit number to read/write

xValue

BOOL

value to write