Compare commits
4 Commits
b2e0851c77
...
f5c2200e79
| Author | SHA1 | Date | |
|---|---|---|---|
| f5c2200e79 | |||
| 9f03a3c477 | |||
|
|
785a4212f5 | ||
| 359eb64f30 |
8
src/lightingFirmware/esp32_test0/.theia/launch.json
Normal file
8
src/lightingFirmware/esp32_test0/.theia/launch.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
|
||||
]
|
||||
}
|
||||
@ -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