diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index d5d03e6..3b455c1 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor","4194304":"Type alias"},"rows":[{"id":0,"kind":256,"name":"ReadableDevice","url":"interfaces/readabledevice.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":1,"kind":2048,"name":"read","url":"interfaces/readabledevice.html#read","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"ReadableDevice"},{"id":2,"kind":256,"name":"WritableDevice","url":"interfaces/writabledevice.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":3,"kind":2048,"name":"write","url":"interfaces/writabledevice.html#write","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"WritableDevice"},{"id":4,"kind":64,"name":"i2c","url":"globals.html#i2c","classes":"tsd-kind-function"},{"id":5,"kind":64,"name":"ads1015","url":"globals.html#ads1015","classes":"tsd-kind-function"},{"id":6,"kind":4194304,"name":"Temperature","url":"globals.html#temperature","classes":"tsd-kind-type-alias"},{"id":7,"kind":64,"name":"adt7410","url":"globals.html#adt7410","classes":"tsd-kind-function"},{"id":8,"kind":4194304,"name":"Acceleration","url":"globals.html#acceleration","classes":"tsd-kind-type-alias"},{"id":9,"kind":64,"name":"adxl345","url":"globals.html#adxl345","classes":"tsd-kind-function"},{"id":10,"kind":4194304,"name":"Distance","url":"globals.html#distance","classes":"tsd-kind-type-alias"},{"id":11,"kind":64,"name":"gp2y0e03","url":"globals.html#gp2y0e03","classes":"tsd-kind-function"},{"id":12,"kind":128,"name":"GPIO","url":"classes/gpio.html","classes":"tsd-kind-class"},{"id":13,"kind":2048,"name":"read","url":"classes/gpio.html#read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GPIO"},{"id":14,"kind":2048,"name":"write","url":"classes/gpio.html#write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GPIO"},{"id":15,"kind":1024,"name":"onchange","url":"classes/gpio.html#onchange","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":16,"kind":512,"name":"constructor","url":"classes/gpio.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":17,"kind":262144,"name":"portNumber","url":"classes/gpio.html#portnumber","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":18,"kind":262144,"name":"portName","url":"classes/gpio.html#portname","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":19,"kind":262144,"name":"pinName","url":"classes/gpio.html#pinname","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":20,"kind":262144,"name":"direction","url":"classes/gpio.html#direction","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":21,"kind":262144,"name":"exported","url":"classes/gpio.html#exported","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":22,"kind":2048,"name":"export","url":"classes/gpio.html#export","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":23,"kind":2048,"name":"unexport","url":"classes/gpio.html#unexport","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":24,"kind":2048,"name":"listenerCount","url":"classes/gpio.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"GPIO"},{"id":25,"kind":1024,"name":"defaultMaxListeners","url":"classes/gpio.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"GPIO"},{"id":26,"kind":2048,"name":"addListener","url":"classes/gpio.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":27,"kind":2048,"name":"on","url":"classes/gpio.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":28,"kind":2048,"name":"once","url":"classes/gpio.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":29,"kind":2048,"name":"prependListener","url":"classes/gpio.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":30,"kind":2048,"name":"prependOnceListener","url":"classes/gpio.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":31,"kind":2048,"name":"removeListener","url":"classes/gpio.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":32,"kind":2048,"name":"off","url":"classes/gpio.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":33,"kind":2048,"name":"removeAllListeners","url":"classes/gpio.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":34,"kind":2048,"name":"setMaxListeners","url":"classes/gpio.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":35,"kind":2048,"name":"getMaxListeners","url":"classes/gpio.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":36,"kind":2048,"name":"listeners","url":"classes/gpio.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":37,"kind":2048,"name":"rawListeners","url":"classes/gpio.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":38,"kind":2048,"name":"emit","url":"classes/gpio.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":39,"kind":2048,"name":"eventNames","url":"classes/gpio.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":40,"kind":2048,"name":"listenerCount","url":"classes/gpio.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":41,"kind":64,"name":"gpio","url":"globals.html#gpio","classes":"tsd-kind-function"},{"id":42,"kind":4194304,"name":"Touched","url":"globals.html#touched","classes":"tsd-kind-type-alias"},{"id":43,"kind":64,"name":"mpr121","url":"globals.html#mpr121","classes":"tsd-kind-function"},{"id":44,"kind":4194304,"name":"Direction","url":"globals.html#direction","classes":"tsd-kind-type-alias"},{"id":45,"kind":64,"name":"paj7620","url":"globals.html#paj7620","classes":"tsd-kind-function"},{"id":46,"kind":4194304,"name":"Channel","url":"globals.html#channel","classes":"tsd-kind-type-alias"},{"id":47,"kind":64,"name":"pca9685","url":"globals.html#pca9685","classes":"tsd-kind-function"},{"id":48,"kind":4194304,"name":"RGB","url":"globals.html#rgb","classes":"tsd-kind-type-alias"},{"id":49,"kind":64,"name":"s11059","url":"globals.html#s11059","classes":"tsd-kind-function"},{"id":50,"kind":64,"name":"ssd1308","url":"globals.html#ssd1308","classes":"tsd-kind-function"},{"id":51,"kind":4194304,"name":"Illuminance","url":"globals.html#illuminance","classes":"tsd-kind-type-alias"},{"id":52,"kind":64,"name":"tsl2561","url":"globals.html#tsl2561","classes":"tsd-kind-function"},{"id":53,"kind":4194304,"name":"UVA","url":"globals.html#uva","classes":"tsd-kind-type-alias"},{"id":54,"kind":64,"name":"veml6070","url":"globals.html#veml6070","classes":"tsd-kind-function"},{"id":55,"kind":4194304,"name":"EnableLongRangeMode","url":"globals.html#enablelongrangemode","classes":"tsd-kind-type-alias"},{"id":56,"kind":64,"name":"vl53l0x","url":"globals.html#vl53l0x","classes":"tsd-kind-function"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor","4194304":"Type alias"},"rows":[{"id":0,"kind":256,"name":"ReadableDevice","url":"interfaces/readabledevice.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":1,"kind":2048,"name":"read","url":"interfaces/readabledevice.html#read","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"ReadableDevice"},{"id":2,"kind":256,"name":"WritableDevice","url":"interfaces/writabledevice.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":3,"kind":2048,"name":"write","url":"interfaces/writabledevice.html#write","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"WritableDevice"},{"id":4,"kind":128,"name":"I2C","url":"classes/i2c.html","classes":"tsd-kind-class"},{"id":5,"kind":512,"name":"constructor","url":"classes/i2c.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"I2C"},{"id":6,"kind":262144,"name":"portNumber","url":"classes/i2c.html#portnumber","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"I2C"},{"id":7,"kind":262144,"name":"portName","url":"classes/i2c.html#portname","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"I2C"},{"id":8,"kind":2048,"name":"open","url":"classes/i2c.html#open","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"I2C"},{"id":9,"kind":64,"name":"i2c","url":"globals.html#i2c","classes":"tsd-kind-function"},{"id":10,"kind":64,"name":"ads1015","url":"globals.html#ads1015","classes":"tsd-kind-function"},{"id":11,"kind":4194304,"name":"Temperature","url":"globals.html#temperature","classes":"tsd-kind-type-alias"},{"id":12,"kind":64,"name":"adt7410","url":"globals.html#adt7410","classes":"tsd-kind-function"},{"id":13,"kind":4194304,"name":"Acceleration","url":"globals.html#acceleration","classes":"tsd-kind-type-alias"},{"id":14,"kind":64,"name":"adxl345","url":"globals.html#adxl345","classes":"tsd-kind-function"},{"id":15,"kind":4194304,"name":"Distance","url":"globals.html#distance","classes":"tsd-kind-type-alias"},{"id":16,"kind":64,"name":"gp2y0e03","url":"globals.html#gp2y0e03","classes":"tsd-kind-function"},{"id":17,"kind":128,"name":"GPIO","url":"classes/gpio.html","classes":"tsd-kind-class"},{"id":18,"kind":2048,"name":"read","url":"classes/gpio.html#read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GPIO"},{"id":19,"kind":2048,"name":"write","url":"classes/gpio.html#write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GPIO"},{"id":20,"kind":1024,"name":"onchange","url":"classes/gpio.html#onchange","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":21,"kind":512,"name":"constructor","url":"classes/gpio.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":22,"kind":262144,"name":"portNumber","url":"classes/gpio.html#portnumber","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":23,"kind":262144,"name":"portName","url":"classes/gpio.html#portname","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":24,"kind":262144,"name":"pinName","url":"classes/gpio.html#pinname","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":25,"kind":262144,"name":"direction","url":"classes/gpio.html#direction","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":26,"kind":262144,"name":"exported","url":"classes/gpio.html#exported","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":27,"kind":2048,"name":"export","url":"classes/gpio.html#export","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":28,"kind":2048,"name":"unexport","url":"classes/gpio.html#unexport","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GPIO"},{"id":29,"kind":2048,"name":"listenerCount","url":"classes/gpio.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"GPIO"},{"id":30,"kind":1024,"name":"defaultMaxListeners","url":"classes/gpio.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"GPIO"},{"id":31,"kind":2048,"name":"addListener","url":"classes/gpio.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":32,"kind":2048,"name":"on","url":"classes/gpio.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":33,"kind":2048,"name":"once","url":"classes/gpio.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":34,"kind":2048,"name":"prependListener","url":"classes/gpio.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":35,"kind":2048,"name":"prependOnceListener","url":"classes/gpio.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":36,"kind":2048,"name":"removeListener","url":"classes/gpio.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":37,"kind":2048,"name":"off","url":"classes/gpio.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":38,"kind":2048,"name":"removeAllListeners","url":"classes/gpio.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":39,"kind":2048,"name":"setMaxListeners","url":"classes/gpio.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":40,"kind":2048,"name":"getMaxListeners","url":"classes/gpio.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":41,"kind":2048,"name":"listeners","url":"classes/gpio.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":42,"kind":2048,"name":"rawListeners","url":"classes/gpio.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":43,"kind":2048,"name":"emit","url":"classes/gpio.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":44,"kind":2048,"name":"eventNames","url":"classes/gpio.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":45,"kind":2048,"name":"listenerCount","url":"classes/gpio.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"GPIO"},{"id":46,"kind":64,"name":"gpio","url":"globals.html#gpio","classes":"tsd-kind-function"},{"id":47,"kind":4194304,"name":"Touched","url":"globals.html#touched","classes":"tsd-kind-type-alias"},{"id":48,"kind":64,"name":"mpr121","url":"globals.html#mpr121","classes":"tsd-kind-function"},{"id":49,"kind":4194304,"name":"Direction","url":"globals.html#direction","classes":"tsd-kind-type-alias"},{"id":50,"kind":64,"name":"paj7620","url":"globals.html#paj7620","classes":"tsd-kind-function"},{"id":51,"kind":4194304,"name":"Channel","url":"globals.html#channel","classes":"tsd-kind-type-alias"},{"id":52,"kind":64,"name":"pca9685","url":"globals.html#pca9685","classes":"tsd-kind-function"},{"id":53,"kind":4194304,"name":"RGB","url":"globals.html#rgb","classes":"tsd-kind-type-alias"},{"id":54,"kind":64,"name":"s11059","url":"globals.html#s11059","classes":"tsd-kind-function"},{"id":55,"kind":64,"name":"ssd1308","url":"globals.html#ssd1308","classes":"tsd-kind-function"},{"id":56,"kind":4194304,"name":"Illuminance","url":"globals.html#illuminance","classes":"tsd-kind-type-alias"},{"id":57,"kind":64,"name":"tsl2561","url":"globals.html#tsl2561","classes":"tsd-kind-function"},{"id":58,"kind":4194304,"name":"UVA","url":"globals.html#uva","classes":"tsd-kind-type-alias"},{"id":59,"kind":64,"name":"veml6070","url":"globals.html#veml6070","classes":"tsd-kind-function"},{"id":60,"kind":4194304,"name":"EnableLongRangeMode","url":"globals.html#enablelongrangemode","classes":"tsd-kind-type-alias"},{"id":61,"kind":64,"name":"vl53l0x","url":"globals.html#vl53l0x","classes":"tsd-kind-function"}]}; \ No newline at end of file diff --git a/docs/classes/gpio.html b/docs/classes/gpio.html index e4cedb9..2e9c531 100644 --- a/docs/classes/gpio.html +++ b/docs/classes/gpio.html @@ -733,7 +733,7 @@
Generated using TypeDoc
+
ads1015
-- ads1015(bus?: I2CPort, address?: number, channel?: 0 | 1 | 2 | 3): ReadableDevice<number>
+ - ads1015(bus?: I2C, address?: number, channel?: 0 | 1 | 2 | 3): ReadableDevice<number>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 72
@@ -467,19 +468,19 @@adt7410
-- adt7410(bus?: I2CPort, address?: number): ReadableDevice<number>
+ - adt7410(bus?: I2C, address?: number): ReadableDevice<number>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 72
@@ -493,19 +494,19 @@adxl345
-- adxl345(bus?: I2CPort, address?: number): ReadableDevice<Acceleration>
+ - adxl345(bus?: I2C, address?: number): ReadableDevice<Acceleration>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 83
@@ -519,19 +520,19 @@gp2y0e03
-- gp2y0e03(bus?: I2CPort, address?: number): ReadableDevice<number>
+ - gp2y0e03(bus?: I2C, address?: number): ReadableDevice<number>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 64
@@ -545,13 +546,13 @@gpio
-- gpio(pin: number): GPIOPort
+ - gpio(pin: number): GPIO
Parameters
@@ -560,7 +561,7 @@pin: number
Returns GPIOPort
+Returns GPIO
i2c
-- i2c(bus?: number): I2CPort
+ - i2c(bus?: number): I2C
Parameters
@@ -583,7 +584,7 @@Default value bus: number = 1
Returns I2CPort
+Returns I2C
mpr121
-- mpr121(bus?: I2CPort, address?: number): ReadableDevice<Touched>
+ - mpr121(bus?: I2C, address?: number): ReadableDevice<Touched>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 90
@@ -617,19 +618,19 @@paj7620
-- paj7620(bus?: I2CPort, address?: number): ReadableDevice<Direction>
+ - paj7620(bus?: I2C, address?: number): ReadableDevice<Direction>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 115
@@ -666,13 +667,13 @@pca9685
-- pca9685(bus?: I2CPort, address?: number, channel?: Channel, minPulse?: undefined | number, maxPulse?: undefined | number, angleRange?: undefined | number): WritableDevice<number>
+ - pca9685(bus?: I2C, address?: number, channel?: Channel, minPulse?: undefined | number, maxPulse?: undefined | number, angleRange?: undefined | number): WritableDevice<number>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 64
@@ -749,19 +750,19 @@s11059
-- s11059(bus?: I2CPort, address?: number): ReadableDevice<RGB>
+ - s11059(bus?: I2C, address?: number): ReadableDevice<RGB>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 42
@@ -775,19 +776,19 @@ssd1308
-- ssd1308(bus?: I2CPort, address?: number): WritableDevice<boolean | number | string>
+ - ssd1308(bus?: I2C, address?: number): WritableDevice<boolean | number | string>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 60
@@ -801,19 +802,19 @@tsl2561
-- tsl2561(bus?: I2CPort, address?: number): ReadableDevice<Illuminance>
+ - tsl2561(bus?: I2C, address?: number): ReadableDevice<Illuminance>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 41
@@ -827,13 +828,13 @@veml6070
-- veml6070(bus?: I2CPort): ReadableDevice<number>
+ - veml6070(bus?: I2C): ReadableDevice<number>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Returns ReadableDevice<number>
@@ -855,13 +856,13 @@vl53l0x
-- vl53l0x(bus?: I2CPort, address?: number, enableLongRangeMode?: EnableLongRangeMode): ReadableDevice<Distance>
+ - vl53l0x(bus?: I2C, address?: number, enableLongRangeMode?: EnableLongRangeMode): ReadableDevice<Distance>
Parameters
Default value bus: I2CPort = i2c()
+Default value bus: I2C = i2c()
Default value address: number = 41
@@ -909,6 +910,9 @@Returns Promise<T>
diff --git a/docs/interfaces/writabledevice.html b/docs/interfaces/writabledevice.html index 719c213..1cc9589 100644 --- a/docs/interfaces/writabledevice.html +++ b/docs/interfaces/writabledevice.html @@ -107,7 +107,7 @@Parameters