Davi Souza
/
pymite
python
Fork of pymite by
Diff: platform/mbed/main_nat.cpp
- Revision:
- 7:71a6f45bc563
- Parent:
- 5:19bd98307341
- Child:
- 8:88d4fba4ccd5
--- a/platform/mbed/main_nat.cpp Mon Apr 14 03:30:39 2014 +0000 +++ b/platform/mbed/main_nat.cpp Sat Jun 14 12:14:55 2014 +0000 @@ -22,6 +22,16 @@ #include "TSISensor.h" #endif +#if defined(TARGET_NUCLEO_F401RE) +class AnalogOut { +public: +AnalogOut(PinName pin){} +void write(float value){} +void write_u16(unsigned short value){} +float read(){} +}; +#endif + PmReturn_t nat_placeholder_func(pPmFrame_t *ppframe) {