cable-length-cutter/function-diagram.drawio
jonny_ji7 dddd54b03a Add MANUAL mode, Add vfd direction support
vfd: extend vfd_setState function with direction enum (default fwd)
main: reduce log output from buzzer task
config: use mos1 as vfd_FWD output
control:
    add MANUAL state: motor can be controlled via preset buttons
    adjust code slightly to support new state (also see updated
    function-diagram)
2022-08-19 16:29:59 +02:00

1 line
6.7 KiB
Plaintext

<mxfile host="Electron" modified="2022-08-19T14:27:57.005Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/20.2.3 Chrome/102.0.5005.167 Electron/19.0.11 Safari/537.36" etag="3fZIDR4btZuU3FTTiEIj" version="20.2.3" type="device"><diagram id="pYACIs8yIpksGCPkkI0E" name="Page-1">7V1rU6NKE/41VvmeKi2uIfmoRnf3HNe11LOX88VCmCTsEsgC8bK//p0BhgDdEJJwi7rlajKZENK3p7unp+dAPps/f/D0xeyzaxL7QBLM5wN5fCBJ4kCSDtiPYL7EI8JwEI1MPcuMx1YDt9YfEg2q8eDSMomfmRe4rh1Yi+yg4ToOMYLMmO557lN22sS1sx+60KcEDNwaug1Hv1lmMItHxcFo9cJHYk1n/KMHqhK9Mtf5bCEa8Ge66T6lhuTzA/nMc90gejR/PiM2ox6nS/S+i4JXkzvziBNUecPf7uhfMphd/g7+Gcnq3fl0cfrPkRjf7aNuL+Ov/MlZLIP4loMXTgj/yZrbukOfnfqB7gUxpySZDsA7iW/ukXgBeU4NxXf2gbhzEngvdEr86mAUMzyWE/70aUV0SYgJOUvROxnUY0ZPk0uvSEEfxNTYhDIqoMwRfXq6DALXoQ9uGRUOpIFN7+T0waOPpuxRZs4N8cm6ObdFM67dgNLTYl+HeHBKwZu86CMF8UgGPKS8YPNmwZxSYizSh7ptTR362CYT9grjl0WF/yQenlumyd58Sq9q/dEfwgsJ9PnCtZwgpLh6eqCO2ZWWgetHMiGGMuK5v8iZa7seHXHcUHAmlm3nhqDolItpZYES5Yw8yQKQJxGTp1Fj4jQA4vRlGXSga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