ReactESP 3.1.0
Asynchronous programming for the ESP microcontrollers
|
Go to the source code of this file.
Macros | |
#define | LED_PIN 2 |
#define | OUT_PIN 18 |
#define | INPUT_PIN1 12 |
#define | INPUT_PIN2 13 |
#define | NUM_TIMERS 20 |
Functions | |
void | reporter () |
void | setup_timers (EventLoop &event_loop) |
void | setup_io_pins (EventLoop *event_loop) |
void | setup_serial (EventLoop &event_loop) |
void | setup_tick (EventLoop &event_loop) |
void | execute_task (void *arg) |
void | setup () |
void | loop () |
Variables | |
int | tick_counter = 0 |
int | timer_ticks [NUM_TIMERS] |
EventLoop | event_loop |
void execute_task | ( | void * | arg | ) |
void reporter | ( | ) |
void setup_io_pins | ( | EventLoop * | event_loop | ) |
void setup_serial | ( | EventLoop & | event_loop | ) |
void setup_tick | ( | EventLoop & | event_loop | ) |
void setup_timers | ( | EventLoop & | event_loop | ) |
int timer_ticks[NUM_TIMERS] |