esp32-car/include/utils.h

12 lines
228 B
C

#ifndef UTILS_H
#define UTILS_H
#include <Arduino.h>
#define FIRMWARE_VERSION 1
void floatToBytes(float val, uint8_t *bytes);
float bytesToFloat(uint8_t *bytes);
void updateStatusLED(bool deviceConnected, int ledPin);
#endif