surfacing missing repeat parameter (#380)

* surfacing missing repeat parameter

* updated docs
This commit is contained in:
Peli de Halleux
2017-04-03 10:30:25 -07:00
committed by GitHub
parent aac5bb8619
commit 37efefdcee
5 changed files with 19 additions and 11 deletions

6
tests/i2c.ts Normal file
View File

@ -0,0 +1,6 @@
let item = pins.i2cReadNumber(123, NumberFormat.Int8LE)
pins.i2cWriteNumber(123, 0, NumberFormat.Int8LE)
let item2 = pins.i2cReadNumber(123, NumberFormat.Int8LE, true)
pins.i2cWriteNumber(123, 0, NumberFormat.Int8LE, true)