begin(115200); // Set up serial at 115200 baud pinMode(BTN_PIN, INPUT_PULLUP); digitalWrite(7, HIGH); setupBLE(); } void loop() { blePeriph.poll(); // read the current button pin state char buttonValue = digitalRead(BTN_PIN); // has the value changed since the last read bool...