diff --git a/assets/js/search.js b/assets/js/search.js index 3b455c1..714209f 100644 --- a/assets/js/search.js +++ b/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":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 + 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"},{"id":62,"kind":64,"name":"ssd1306","url":"globals.html#ssd1306","classes":"tsd-kind-function"}]}; \ No newline at end of file diff --git a/classes/gpio.html b/classes/gpio.html index 543bd45..e82bfa0 100644 --- a/classes/gpio.html +++ b/classes/gpio.html @@ -733,7 +733,7 @@
Parameters
@@ -431,7 +432,7 @@Parameters
@@ -457,7 +458,7 @@Parameters
@@ -483,7 +484,7 @@Parameters
@@ -509,7 +510,7 @@Parameters
@@ -532,7 +533,7 @@Parameters
@@ -555,7 +556,7 @@Parameters
@@ -581,7 +582,7 @@Parameters
@@ -630,7 +631,7 @@Parameters
@@ -729,6 +730,32 @@ssd1306
++- ssd1306(bus?: I2C, address?: number): WritableDevice<boolean | number | string>
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+Default value bus: I2C = i2c()
+Default value address: number = 60
+Returns WritableDevice<boolean | number | string>
+ssd1308
@@ -739,7 +766,7 @@Parameters
@@ -765,7 +792,7 @@Parameters
@@ -791,7 +818,7 @@Returns Promise<T>
diff --git a/interfaces/writabledevice.html b/interfaces/writabledevice.html index 66acc06..4b20b5b 100644 --- a/interfaces/writabledevice.html +++ b/interfaces/writabledevice.html @@ -107,7 +107,7 @@Parameters