MistyGro API
C++ API for MistyGro's ESP32 controller based on the Arduino framework
Functions | Variables
test_ldr.cpp File Reference
#include "ldr.h"
#include "utility.h"
Include dependency graph for test_ldr.cpp:

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 

Variables

ADC adc
 
LDR ldr (10, &adc)
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 28 of file test_ldr.cpp.

◆ setup()

void setup ( )

Definition at line 21 of file test_ldr.cpp.

Variable Documentation

◆ adc

ADC adc

Definition at line 18 of file test_ldr.cpp.

◆ ldr

LDR ldr(10, &adc) ( 10  ,
adc 
)