debug tool for STM32F042F6P6

Revision:
23:2e1f37405365
Parent:
22:e63aa0ea925a
Child:
24:bc7c4e8f3fe0
diff -r e63aa0ea925a -r 2e1f37405365 Debug.h
--- a/Debug.h	Thu May 09 21:33:47 2019 +0000
+++ b/Debug.h	Thu May 09 21:37:50 2019 +0000
@@ -47,10 +47,11 @@
  *     pc.breakpoint(__LINE__); 
  *     pwm = 0.5;
  *     pwm.period(1);
- *     analog.read_u16();
  *     while(1){
+ *         pwm = analog;
  *         pc.breakpoint(__LINE__);
- *         wait(1);
+ *         wait(0.5);
+ *         pwm.period_ms(analog.read_u16()%2000);
  *         pc.breakpoint();        
  *     }
  * }