This block Writes to the Register ? of an IIC (Inter-Integrated Circuit) sensor connected to port ? at Address ?.
Plug | Data Type | Possible Range | What the Values Mean | This Plug is Ignored When... | |
![]() |
Port | Number | 1 - 4 | Selects the port the IIC device is connected to | |
![]() |
Address | Number | 2 - 254 | The address of the device to read from (even numbers only) | |
![]() |
WReg | Number | 0 - 255 | The register of the device to write to | Ignored if 'WriteReg' = True |
![]() |
WValue | Number | 0 - 255 | The value to write | |
![]() |
WriteReg | Logic | True/False | True = write register value, False = do not write register value | |
![]() |
Yes / No | Logic | True/False | True = an error on the bus occurred, False = no error | |
![]() |
Status Out | Number | 32 - -35 | 0 = no error. 32 = Port is busy performing a transaction. -35 = Last transaction failed (possible device failure). -33 = Specified port is out of range. -32 = Specified port is not properly configured. |