#include //#include "BluetoothLeUartServer.h" #include "OmobiLedDisplay.h" #define PIN 4 OmobiLedDisplay* display; class MyCallbacks : public BluetoothLeUartServerCallbacks { virtual void onDeviceConnectedChanged(bool deviceConnected) { Serial.println("Device connected changed"); }; virtual void onDataReceived(String data) { Serial.println("Got some data: " + data); }; }; //BluetoothLeUartServer* server; void setup() { Serial.begin(115200); Serial.printf("Los\n"); display = new OmobiLedDisplay("OmobiLedDisplay1", PIN); //server = new BluetoothLeUartServer("OmobiLedDisplay1", "6e400001-b5a3-f393-e0a9-e50e24dcca9e", "6e400002-b5a3-f393-e0a9-e50e24dcca9e", "6e400003-b5a3-f393-e0a9-e50e24dcca9e"); //server->setCallbacks(new MyCallbacks()); } void loop() { delay(1000); }