Update
Dependencies: mbed mbed-rtos X_NUCLEO_IHM02A1
Diff: PWM.cpp
- Revision:
- 37:a74d377d8f74
- Parent:
- 36:ba2e7eddbafa
- Child:
- 38:3776ee18e56f
--- a/PWM.cpp Wed May 08 09:35:40 2019 +0000 +++ b/PWM.cpp Fri May 10 17:31:36 2019 +0000 @@ -43,10 +43,10 @@ void Init_Cutter() { Cutter_1.period(1/(float)CUTTER_FRQ_1); - Cutter_1 = 0.0; + Cutter_1 = 0.7; Cutter_2.period(1/(float)CUTTER_FRQ_2); - Cutter_2 = 0.0; + Cutter_2 = 0.7; } void Set_Cutter(int arc_on_time, int arc_off_time, int repeats) @@ -71,12 +71,12 @@ void Init_Spleisser() { Spleisser_1.period(1/(float)SPLEISSER_FRQ_1); - Spleisser_1 = 0.0; + Spleisser_1 = 0.7; Spleisser_2.period(1/(float)SPLEISSER_FRQ_2); - Spleisser_2 = 0.0; + Spleisser_2 = 0.7; } - + void Set_Spleisser(int arc_on_time, int arc_off_time, int repeats) { for(int i = repeats; i>0; i--)