HU YANG
/
AnalogOut-HelloWorld
aa
Fork of AnalogOut-HelloWorld by
main.cpp@5:e6536d2d5aba, 2016-10-10 (annotated)
- Committer:
- fewerhy
- Date:
- Mon Oct 10 20:40:05 2016 +0000
- Revision:
- 5:e6536d2d5aba
- Parent:
- 0:df98cf0f64e4
stable
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fewerhy | 5:e6536d2d5aba | 1 | #include "mdeviceCtrl.h" |
fewerhy | 5:e6536d2d5aba | 2 | |
fewerhy | 5:e6536d2d5aba | 3 | int main() { |
fewerhy | 5:e6536d2d5aba | 4 | printf("Press 'g' to turn LED1 brightness up, 'd' to turn it down\n"); |
fewerhy | 5:e6536d2d5aba | 5 | mdeviceCtrl *myApp = new mdeviceCtrl(); |
fewerhy | 5:e6536d2d5aba | 6 | while(1) |
fewerhy | 5:e6536d2d5aba | 7 | { |
fewerhy | 5:e6536d2d5aba | 8 | myApp->run(); |
sam_grove | 0:df98cf0f64e4 | 9 | } |
sam_grove | 0:df98cf0f64e4 | 10 | } |