Added beeper, moved bsp init into separate function
This commit is contained in:
+3
-1
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "aconnoBLE.h"
|
||||
#include "aconnoTasks.h"
|
||||
|
||||
#include "aconnoBeeper.h"
|
||||
|
||||
/**
|
||||
* @brief loger task handler
|
||||
@@ -111,6 +111,8 @@ Potentiometer pot(adc, ADC_POT);
|
||||
MCP9700 ambientTemperature(adc, ADC_TEMP);
|
||||
|
||||
Servo servo(PIN_SERVO2, 2);
|
||||
AconnoBeeper beeper(1, PIN_BUZZER);
|
||||
|
||||
// Must be global
|
||||
AconnoBLEService myService;
|
||||
AconnoBLEChar myChar;
|
||||
|
||||
Reference in New Issue
Block a user