Debugging tool for mbed enabled microcontrollers, especially for NUCLEO-F303RE and STM32F042F6P6.
Diff: Debug.h
- Revision:
- 19:b355ad429450
- Parent:
- 18:472b66aeb1f5
- Child:
- 20:0227bb22d7ce
diff -r 472b66aeb1f5 -r b355ad429450 Debug.h --- a/Debug.h Sat Mar 20 12:53:37 2021 +0000 +++ b/Debug.h Sat Mar 20 12:55:32 2021 +0000 @@ -170,7 +170,7 @@ /** Debug_led class. * Class for stepping the program with debug LED and button, that is connected to GND(default) or VCC. * - * Example program: + * Example program for STM32F042F6P6: * @code * // ---------------------------------------------------------------------------- * // Example program of Debug_led class for STM32F042F6P6 @@ -187,7 +187,7 @@ * * int main(){ * - * out = 1; + * led = 1; * deb.breakpoint(); // breakpoint with periodical flashing with 300 ms period until the button is pressed * pwm = 0.5; * pwm.period(1);