-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Have built and used your default pin layout, however get the following error when compiling using Arduino IDE, any suggestions?:-
C:[DocRoot]\Arduino\useless-box\proximity-sensor.cpp: In member function 'uint8_t ProximitySensor::getProximity()':
C:[DocRoot]\Arduino\useless-box\proximity-sensor.cpp:45:19: error: control reaches end of non-void function [-Werror=return-type]
45 | Serial.println(F("ProximitySensor: Reading proximity value FAILED!"));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus.exe: some warnings being treated as errors
Multiple libraries were found for "Servo.h"
Used: C:*\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\Servo
Not used: C:*\AppData\Local\Arduino15\libraries\Servo
exit status 1
Compilation error: control reaches end of non-void function [-Werror=return-type]