Remove string print from BLE intepreter
This commit is contained in:
parent
9f03a3c477
commit
f5c2200e79
@ -300,18 +300,16 @@ void setup() {
|
||||
|
||||
void loop() {
|
||||
|
||||
// Send the DMX packet.
|
||||
// Save Old Mode
|
||||
int modeOld = mode;
|
||||
|
||||
// notify changed value
|
||||
if (deviceConnected) {
|
||||
Serial.printf("\nI received the following string: %s",String(pCharacteristic->getValue()));
|
||||
Serial.printf("\nI received the following bytes: ");
|
||||
uint8_t* btMessage = pCharacteristic->getData();
|
||||
for (int i = 0; i < sizeof(btMessage); i++){
|
||||
Serial.printf("%d ",btMessage[i]);
|
||||
};
|
||||
delay(100);
|
||||
}
|
||||
// disconnecting
|
||||
if (!deviceConnected && oldDeviceConnected) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user