Move lighting logic in to its own class. Add definition guards around classes.
This commit is contained in:
parent
0052ac0169
commit
a3068a2d15
6 changed files with 111 additions and 64 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DAYLIGHT_h
|
||||
#define _DAYLIGHT_h
|
||||
#ifndef NaturalLight_h
|
||||
#define NaturalLight_h
|
||||
#include <Arduino.h>
|
||||
|
||||
#define SOLAR_EVENT_URL "http://api.sunrise-sunset.org/json?lat=%s&lng=%s&formatted=0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue