Commit Graph

16 Commits

Author SHA1 Message Date
Scott fd550fd104 PCA9685 (driver15) - Allow the "ALL" virtual pin 61 for pwm values
The datasheet shows register 250 is "ALL" pins, which corresponds to
virtual pin 61 (61*4+6=250).  Pin 61 was already allowed with PWM
command for OFF and ON, but not specified pwm values.  This update
allows virtual pin 61 to be assigned pwm values for all channels.

Example usage to set all channels to 2500:

`driver15 pwm,61,2500`
2022-01-23 13:14:19 -05:00
Scott 8337fba960 PCA9685 (driver15) - add INVERT option
The INVERT option makes PWM and ON/OFF values meaningful for open-drain connected lights.

  - Activate with:  driver15 invert 1
  - PWM value is inverted, so 0 is "off" and 4096 is "on"
  - INVERT is included in status and telemetry
2022-01-23 12:38:17 -05:00
Theo Arends dba1f32c82 Fix ESP32 core 2.x I2C device detection speed 2021-10-31 15:13:28 +01:00
Theo Arends aea856ca2c Refactor command line arguments 2021-01-30 12:48:44 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 24b71c5ba3 Refactor I2C driver detection phase 6 2019-11-11 17:32:44 +01:00
Theo Arends 83d28c163f Remove on-the-fly PCA9685 detection 2019-11-11 14:22:48 +01:00
Theo Arends 48e15216be Refactor Sensor MQTT data adding rule support 2019-11-10 17:40:37 +01:00
Theo Arends 492260cb7e Refactor I2C driver detection phase 4 2019-11-09 18:34:22 +01:00
Theo Arends d42e81402a Refactor I2C driver detection phase 1 2019-11-06 17:48:38 +01:00
Theo Arends b46c6ef3e5 Refactor I2c drivers 2019-11-04 10:38:05 +01:00
Theo Arends 1e29593469 Bump version 7.0.0.3
Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
2019-11-03 17:54:39 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00