Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Go to the source code of this file.
Functions | |
void | asCR01R02v4 (boards_config_t *config) |
This is a smart outlet. More... | |
void asCR01R02v4 | ( | boards_config_t * | config | ) |
This is a smart outlet.
We are still in a testing phase.
It's easy to test with a microapp. That doesn't require changing code in the firmware itself. In a microapp first set pinGpio[0] or (P1.00) to true and start listening to BUTTON2 (P0.08).
The shutter is placed on pinGpio[1].
The zero-crossings are placed on gpio 2 and 3 (should be configured as inputs). Note that this is propagated through the firmware towards the microapp. That won't be fast enough to do something real-time with it.