 |
ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
|
Go to the documentation of this file.
20 #include "../../include/esp3d_config.h"
21 #if defined (BUZZER_DEVICE)
22 #include "../commands.h"
23 #include "../esp3doutput.h"
24 #include "../settings_esp3d.h"
25 #include "../../modules/authentication/authentication_service.h"
26 #include "../../modules/buzzer/buzzer.h"
33 #ifdef AUTHENTICATION_FEATURE
35 output->
printERROR(
"Wrong authentication!", 401);
40 #endif //AUTHENTICATION_FEATURE
47 if (parameter.length() == 0) {
53 if (parameter.length() == 0) {
57 f = parameter.toInt();
59 if (parameter.length() == 0) {
63 d = parameter.toInt();
70 #endif //BUZZER_DEVICE
const char * get_param(const char *cmd_params, const char *label)
void playsound(int frequency, int duration)
void beep(int count=1, int delay=0, int frequency=BEEP_FREQUENCY)
size_t printMSG(const char *s, bool withNL=true)
size_t printERROR(const char *s, int code_error=200)
BuzzerDevice esp3d_buzzer