Marietjie Blignaut / Mbed 2 deprecated IceCreamMachine_

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
marietjie
Date:
Sun Jul 17 18:14:09 2022 +0000
Parent:
1:011f0bdaa7f5
Commit message:
rev1_

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Jul 17 18:07:55 2022 +0000
+++ b/main.cpp	Sun Jul 17 18:14:09 2022 +0000
@@ -6,7 +6,7 @@
     of MCU) to one ADC pin on STM32F4 MCU. Voltage is based on position of dispenser arm. 
 - voltage > 1.65V implies the arm is pressed down 
 - voltage < 1.65V implies the arm is released 
-To prevent rapid switching, hysteresis is introduced with a counter function, if arm is pressed down for more than 5 seconds, the digital output will go high.
+To prevent rapid switching, hysteresis is introduced with a counter function, if arm is pressed down for more than x seconds, the digital output will go high.
 
 Requirements:
 1. Read ADC value and print over serial port