Lei Lei
/
AUP_Lab2_PWM_UART
AUP_Lab2_PWM_UART
Fork of Lab2_PWM_UART by
Revision 4:4afd80834e5c, committed 2015-10-31
- Comitter:
- BrentLei
- Date:
- Sat Oct 31 02:42:41 2015 +0000
- Parent:
- 3:5f3417989cab
- Commit message:
- nRF51
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5f3417989cab -r 4afd80834e5c main.cpp --- 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 }