Heater for threaded program

Dependents:   LEX_Threaded_Programming

Files at this revision

API Documentation at this revision

Comitter:
omatthews
Date:
Tue Aug 27 09:22:36 2019 +0000
Parent:
26:f6c98b05ee85
Commit message:
For Paul

Changed in this revision

Heater.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f6c98b05ee85 -r bb97231d1be9 Heater.cpp
--- a/Heater.cpp	Tue Aug 27 07:51:30 2019 +0000
+++ b/Heater.cpp	Tue Aug 27 09:22:36 2019 +0000
@@ -37,6 +37,8 @@
             guard = & guard_2;
         }
         else pc.printf("Please select the desired heater channel");
+        drive->prescaler(1);
+        guard->prescaler(1);
         drive->period_ticks(1000);
         guard->period_ticks(1000);
     }