Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Modulino.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
#ifndef ARDUINO_LIBRARIES_MODULINO_H
#define ARDUINO_LIBRARIES_MODULINO_H

#if defined(ESP32) && defined(BOARD_HAS_PIN_REMAP) && defined(tone)
#error "The current configuration is unsupported, switch Pin Numbering to "By GPIO number" or #undef tone and #undef noTone in the beginning of your sketch."
#error "Learn more at: https://support.arduino.cc/hc/en-us/articles/10483225565980-Select-pin-numbering-for-Nano-ESP32-in-Arduino-IDE"
#endif

#include "Wire.h"
#include <vl53l4cd_class.h> // from stm32duino
#include <vl53l4ed_class.h> // from stm32duino
Expand Down