You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :
Note:
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:
include module (see line 43-53 items.cpp) and
add new class initialisation to items.cpp, similar as line 184+
and allocate new Channel type# at lines 61+ of items.h
===
same for inputs (I will extend tutorial if smbdy will be ready to develop module):
we can provide testing for these i2c components.
The text was updated successfully, but these errors were encountered: