Open fdepalo opened 2 years ago
UART: sc16is750 (primary for air conditioner out) DAC: mcp4725/4728 (for 0-10V outs) ADC: ads1115 GPO: mcp23017 I2C MUX: TCA9548A PWM OUT: PCA9685 BMP180/BME280/BME680
I'm not sure when I will have enough time do develop all items above by myself, so pls consider info below if you have some skills to add every new driver to LightHub :
Adding new types of items (outputs) - quite easy task. Refer modules/out_relay.cpp (.h) as simplest template for output or modules/out_pid.cpp (.h) as little bit more complicated example for output
after implementing new item type class, inherited from "abstractOut" (most driver functionality lays in virtual methods Setup, Poll, Ctrl), just need to do several simple steps:
=== same for inputs (I will extend tutorial if smbdy will be ready to develop module):
Example: modules/in_ccs811_hdc1080.cpp (.h)
we can provide testing for these i2c components.