mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
18 lines
331 B
C
18 lines
331 B
C
#ifndef ARDUINO_H
|
|
#define ARDUINO_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "esp-hal-gpio.h"
|
|
|
|
void pinMode(uint8_t pin, uint8_t mode);
|
|
void digitalWrite(uint8_t pin, uint8_t val);
|
|
int digitalRead(uint8_t pin);
|
|
|
|
// Can be previously declared as a macro in stupid eModbus
|
|
#undef millis
|
|
unsigned long millis();
|
|
|
|
int max(int a, int b);
|
|
|
|
#endif
|