mirror of
https://github.com/wled/WLED.git
synced 2025-04-20 12:57:19 +00:00

- added onStateChange() callback - added examples & comments to usermod_v2_example.h - PIR sensor cancels countdown on state change
Usermods API v2 example usermod
In this usermod file you can find the documentation on how to take advantage of the new version 2 usermods!
Installation
Copy usermod_v2_example.h
to the wled00 directory.
Uncomment the corresponding lines in usermods_list.cpp
and compile!
(You shouldn't need to actually install this, it does nothing useful)