romkey / esp32-arduino-ble-radoneye-rd200

ESP32 library for Arduino Core that reads the RadonEye RD200 radon sensor over Bluetooth LE.
1 stars 2 forks source link

Compiling for ESP32-C3 #2

Open LsrSal opened 11 months ago

LsrSal commented 11 months ago

Tried to compile for ESP32-C3 on Arduino 1.18.19

Stumbled over couple issues. Not sure if first one is due to different compiler. Second one I believe is a misprint in original code as there is no other mentioning of hours or minutes elsewhere:

  1. in radon_eye.h line 65 had to change "std::string" to "String", otherwise got conversion error. With edit appearedt o work just fine.
  2. in simple.ino lines 28-31: changed to below, otherwise cannot find variables. " Serial.printf("now %.2f day %.2f month %.2f\n", radon_sensor.radon_now(), radon_sensor.radon_day(), radon_sensor.radon_month()); "