Fix wrong snippet in pins ic2 help (#1004)
This commit is contained in:
parent
8dff9e3d09
commit
2f45300f8c
@ -25,7 +25,7 @@ This function needs real hardware to work with. It's not supported in the simula
|
|||||||
Send the value `2055` to the 7-bit I2C address as a 32-bit number. The `32`, big-endian, and integer chosen for the format.
|
Send the value `2055` to the 7-bit I2C address as a 32-bit number. The `32`, big-endian, and integer chosen for the format.
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
pins.i2cWriteNumber(32, 2055, NumberFormat.Int32BE);
|
pins.i2cWriteNumber(32, 2055, NumberFormat.Int32BE, false);
|
||||||
```
|
```
|
||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
Loading…
Reference in New Issue
Block a user