clean up
This commit is contained in:
1 parent
a541fadfb2
commit
d0e09a323d
2 files changed
+6
-3
No files matched your search
@@ -32,8 +32,8 @@ void setup()
|
||||
pinMode(PIN_ADV, INPUT_PULLUP);
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial.println("Bluefruit52 Blinky Example");
|
||||
Serial.println("--------------------------\n");
|
||||
Serial.println("Bluefruit52 Advanced Advertising Example");
|
||||
Serial.println("----------------------------------------\n");
|
||||
|
||||
// Initialize blinkTimer for 1000 ms and start it
|
||||
blinkTimer.begin(1000, blink_timer_callback);
|
||||
|
||||
@@ -39,8 +39,11 @@ void setup()
|
||||
Serial.println("--------------------------\n");
|
||||
|
||||
Bluefruit.begin();
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
|
||||
// off Blue LED for lowest power consumption
|
||||
Bluefruit.autoConnLed(false);
|
||||
|
||||
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
||||
Bluefruit.setTxPower(0);
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
|
||||
|
||||
Reference in new issue
Block a user