Lei Lei
/
AUP_Lab2_PWM_UART
AUP_Lab2_PWM_UART
Fork of Lab2_PWM_UART by
Diff: main.cpp
- Revision:
- 4:4afd80834e5c
- Parent:
- 3:5f3417989cab
--- a/main.cpp Wed Jul 29 07:08:34 2015 +0000 +++ b/main.cpp Sat Oct 31 02:42:41 2015 +0000 @@ -12,7 +12,6 @@ { int bt_flag = 0; - printf("Hello PWM!\r\n"); // Set PWM led.write(brightness); @@ -31,7 +30,6 @@ brightness = (brightness>1.0)?0.0:brightness; brightness = (brightness<0.0)?1.0:brightness; led.write(brightness); - printf("Brightness = %.1f\r\n", 1.0-brightness); } wait(0.2); // 200 ms }