pca9685-promise
Version:
controls a PCA9685 (PWM/Servo driver) in node.js using async-i2c-bus.
3 lines • 8.99 kB
JavaScript
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"Options","url":"interfaces/_index_.options.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"index\""},{"id":2,"kind":1024,"name":"address","url":"interfaces/_index_.options.html#address","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"index\".Options"},{"id":3,"kind":1024,"name":"allcall","url":"interfaces/_index_.options.html#allcall","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"index\".Options"},{"id":4,"kind":1024,"name":"allcallAddress","url":"interfaces/_index_.options.html#allcalladdress","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"index\".Options"},{"id":5,"kind":1024,"name":"frequency","url":"interfaces/_index_.options.html#frequency","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"index\".Options"},{"id":6,"kind":1024,"name":"oscillator","url":"interfaces/_index_.options.html#oscillator","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"index\".Options"},{"id":7,"kind":128,"name":"PCA9685","url":"classes/_index_.pca9685.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"index\""},{"id":8,"kind":512,"name":"constructor","url":"classes/_index_.pca9685.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":9,"kind":2048,"name":"init","url":"classes/_index_.pca9685.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":10,"kind":2048,"name":"set_frequency","url":"classes/_index_.pca9685.html#set_frequency","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":11,"kind":2048,"name":"set_pwm","url":"classes/_index_.pca9685.html#set_pwm","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":12,"kind":2048,"name":"set_pwm_ms","url":"classes/_index_.pca9685.html#set_pwm_ms","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":13,"kind":2048,"name":"set_all_pwm","url":"classes/_index_.pca9685.html#set_all_pwm","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":14,"kind":2048,"name":"shutdown","url":"classes/_index_.pca9685.html#shutdown","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":15,"kind":2048,"name":"shutdown_all","url":"classes/_index_.pca9685.html#shutdown_all","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"index\".PCA9685"},{"id":16,"kind":32,"name":"DEFAULT_ADDRESS","url":"modules/_index_.html#default_address","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":17,"kind":32,"name":"MODE1","url":"modules/_index_.html#mode1","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":18,"kind":32,"name":"MODE2","url":"modules/_index_.html#mode2","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":19,"kind":32,"name":"SUBADR1","url":"modules/_index_.html#subadr1","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":20,"kind":32,"name":"SUBADR2","url":"modules/_index_.html#subadr2","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":21,"kind":32,"name":"SUBADR3","url":"modules/_index_.html#subadr3","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":22,"kind":32,"name":"ALLCALLADDR","url":"modules/_index_.html#allcalladdr","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":23,"kind":32,"name":"LED0_ON_L","url":"modules/_index_.html#led0_on_l","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":24,"kind":32,"name":"LED0_ON_H","url":"modules/_index_.html#led0_on_h","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":25,"kind":32,"name":"LED0_OFF_L","url":"modules/_index_.html#led0_off_l","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":26,"kind":32,"name":"LED0_OFF_H","url":"modules/_index_.html#led0_off_h","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":27,"kind":32,"name":"ALL_LED_ON_L","url":"modules/_index_.html#all_led_on_l","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":28,"kind":32,"name":"ALL_LED_ON_H","url":"modules/_index_.html#all_led_on_h","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":29,"kind":32,"name":"ALL_LED_OFF_L","url":"modules/_index_.html#all_led_off_l","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":30,"kind":32,"name":"ALL_LED_OFF_H","url":"modules/_index_.html#all_led_off_h","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":31,"kind":32,"name":"PRESCALE","url":"modules/_index_.html#prescale","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":32,"kind":32,"name":"TEST_MODE","url":"modules/_index_.html#test_mode","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":33,"kind":32,"name":"RESTART","url":"modules/_index_.html#restart","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":34,"kind":32,"name":"EXTCLK","url":"modules/_index_.html#extclk","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":35,"kind":32,"name":"AI","url":"modules/_index_.html#ai","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":36,"kind":32,"name":"SLEEP","url":"modules/_index_.html#sleep","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":37,"kind":32,"name":"SUB1","url":"modules/_index_.html#sub1","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":38,"kind":32,"name":"SUB2","url":"modules/_index_.html#sub2","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":39,"kind":32,"name":"SUB3","url":"modules/_index_.html#sub3","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":40,"kind":32,"name":"ALLCALL","url":"modules/_index_.html#allcall","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":41,"kind":32,"name":"INVRT","url":"modules/_index_.html#invrt","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":42,"kind":32,"name":"OCH","url":"modules/_index_.html#och","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":43,"kind":32,"name":"OUTDRV","url":"modules/_index_.html#outdrv","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":44,"kind":32,"name":"OUTNE_OFF","url":"modules/_index_.html#outne_off","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":45,"kind":32,"name":"OUTNE_ON","url":"modules/_index_.html#outne_on","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":46,"kind":32,"name":"OUTNE_HI","url":"modules/_index_.html#outne_hi","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":47,"kind":32,"name":"OSCILLATOR","url":"modules/_index_.html#oscillator","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":48,"kind":32,"name":"RESOLUTION","url":"modules/_index_.html#resolution","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""},{"id":49,"kind":64,"name":"delay","url":"modules/_index_.html#delay","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"index\""}]};