First Publish. Works fine.
Dependents: unzen_sample_LPC4088_quickstart
Diff: unzen.h
- Revision:
- 1:9710fb328a08
- Parent:
- 0:5ac19c994288
- Child:
- 2:6613e62da521
--- a/unzen.h Sun Apr 10 12:37:10 2016 +0000 +++ b/unzen.h Tue Apr 12 05:51:45 2016 +0000 @@ -47,7 +47,7 @@ \details TO call the object method, use this method to retrieve the singleton object. */ - static framework get() { static framework singleton; return singleton ; } + static framework * get() { static framework singleton; return &singleton ; } /** \brief set the interval interrupt count for each time call back is called. @@ -193,6 +193,16 @@ static void i2s_irq_handler(); static void process_irq_handler(); }; + + class umb_adau1361 + { + public: + umb_adau1361( I2C * ); + void start(void); + private: + I2C *i2c; + }; + } #endif