ti bisogna il phaserunner

Dependencies:   mbed PID mbed-rtos

Revision:
9:56aed8c6779f
Parent:
7:15e6fc689368
Child:
11:39bd79605827
--- a/Peripherien/Phaserunner.cpp	Fri May 17 14:35:54 2019 +0000
+++ b/Peripherien/Phaserunner.cpp	Wed May 29 17:05:34 2019 +0000
@@ -2,7 +2,7 @@
 
 Phaserunner::Phaserunner(RawSerial& connection): connection(connection), led(LED2){
     //this->connection = connection;
-    //this->connection.attach(callback(this, &Phaserunner::Rx_interrupt), Serial::RxIrq);
+    this->connection.attach(callback(this, &Phaserunner::Rx_interrupt), Serial::RxIrq);
 
     //this->thread.start(callback(this, &Phaserunner::writeToPhaserunner));
     //this->ticker.attach(callback(this, &Phaserunner::writeToPhaserunner), 0.5f);