ESP32-PaxCounter/include/button.h
2022-08-04 13:52:16 +02:00

17 lines
267 B
C

#ifndef _BUTTON_H
#define _BUTTON_H
#include <SimpleButton.h>
#include "irqhandler.h"
#include "senddata.h"
#include "display.h"
#include "payload.h"
#ifndef BUTTON_ACTIVEHIGH
#define BUTTON_ACTIVEHIGH 0
#endif
void button_init(int pin);
void readButton();
#endif