You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino: In function 'byte fromCoffeemaker(byte, byte, byte, byte)':
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino:118:1: error: no return statement in function returning non-void [-Werror=return-type]
118 | }
| ^
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino: In function 'byte toCoffeemaker(byte)':
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino:157:1: error: no return statement in function returning non-void [-Werror=return-type]
157 | }
| ^
using
Arduino IDE V2.0.3
PubSubClient V2.8.0
esp8266 V3.1.1
with
NodeMCU 1.0 (ESP-12E)
Any help would be really appreciated! :)
The text was updated successfully, but these errors were encountered:
This seems to be something in the newer Arduino versions - Basically, the function is set to return a value, but doesn't. This must have previously been ok but not anymore.
Since there is no need to actually return a value all you should need to do is change: byte toCoffeemaker(byte)
to void toCoffeemaker(byte)
Hello Everybody,
Hi AussieMakerGeek,
I´m getting Error:
using
Arduino IDE V2.0.3
PubSubClient V2.8.0
esp8266 V3.1.1
with
NodeMCU 1.0 (ESP-12E)
Any help would be really appreciated! :)
The text was updated successfully, but these errors were encountered: