Compare commits

..

No commits in common. "f5c2200e7974c34ad77382ed5141f7a58b2908b4" and "b2e0851c77b9ebf6f61280a6728679114a37473e" have entirely different histories.

2 changed files with 3 additions and 9 deletions

View File

@ -1,8 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
]
}

View File

@ -300,16 +300,18 @@ void setup() {
void loop() {
// Save Old Mode
// Send the DMX packet.
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) {