Bluetooth Low Energy for Smart Plug
Dependencies: BLE_API mbed nRF51822
Fork of SmartPlugBLE by
MVC.h
00001 #ifndef MVC_H 00002 #define MVC_H 00003 00004 #include "mbed.h" 00005 00006 class Observer 00007 { 00008 public: 00009 virtual void updateObserver(void* data){printf("in mvc\r\n");} 00010 }; 00011 00012 class Observable 00013 { 00014 public: 00015 void notifyObservers(); 00016 void addObserver(Observer* o); 00017 }; 00018 00019 #endif
Generated on Fri Jul 22 2022 14:22:22 by 1.7.2