104 Commits

Author SHA1 Message Date
Evgenii Meshcheriakov
3bbbf2ae4a PressureWrapper: add getPressure() 2022-10-17 17:29:31 +03:00
Evgenii Meshcheriakov
db4c4efb1a Merge branch 'main' into pressure-wrapper 2022-10-17 15:17:03 +03:00
Vasily Davydov
4bbe567b41 pressure-wrapper: make p-w a separate project 2022-10-17 15:11:03 +03:00
Vasily Davydov
39c3fcd202
Merge switch-controller: resolve #21 pull request #26 from vas-dav/button-hold
switch-controller: resolve #21
2022-10-17 15:01:48 +03:00
Vasily Davydov
3104cc7e24 switch-controller: rename b_state to b_pressed 2022-10-17 15:00:10 +03:00
Evgenii Meshcheriakov
ef10267945
Merge pull request #27 from vas-dav/pressure-wrapper
Pressure wrapper
2022-10-17 14:59:08 +03:00
Vasily Davydov
fc013f8dd4
Merge branch 'main' into pressure-wrapper 2022-10-17 14:47:52 +03:00
Evgenii Meshcheriakov
bb1d94c0f8 esp-vent-main: add temporary I2C class and PressureWrapper to the main. Create a static project further on 2022-10-17 14:40:41 +03:00
Vasily Davydov
b8780772a1 switch-controller: resolve #21 2022-10-17 13:36:08 +03:00
Evgenii Meshcheriakov
98ae07bc18 pressure-wrapper: add structure for pressure_data 2022-10-17 10:45:45 +03:00
Vasily Davydov
9358ede4df
Merge Prepare a class for button-hold enchancement #25 from vas-dav/button-hold
Prepare a class for button-hold enchancement
2022-10-17 09:35:36 +03:00
Vasily Davydov
6155ac7089 switch-controller: add basic functionality to main 2022-10-17 09:27:44 +03:00
Vasily Davydov
0bf20552cf switch-controller: add basic switch listener 2022-10-17 09:15:21 +03:00
Vasily Davydov
c0c85df36f switch-controller: init empty class
This class is meant for controlling switch behaviour, such as
button hold etc
2022-10-17 09:10:27 +03:00
Evgenii Meshcheriakov
1524171e31 Merge branch 'main' into pressure-wrapper 2022-10-17 09:00:05 +03:00
Evgenii Meshcheriakov
ff28b487bb
Update README.md
Update of a link
2022-10-16 17:52:23 +03:00
Evgenii Meshcheriakov
ecd5c7eadf
Merge pull request #23 from vas-dav/toggle
statehandler: fix #20
2022-10-16 16:18:28 +03:00
Evgenii Meshcheriakov
7658b1ed9a statehandler: fix #20 2022-10-16 16:08:17 +03:00
Vasily Davydov
511494f8d4
Merge Counter: fix #18 #22 from vas-dav/counter
Counter: fix #18
2022-10-16 15:40:32 +03:00
Evgenii Meshcheriakov
2a2a9a0930 Counter: fix #18 2022-10-16 15:37:54 +03:00
Vasily Davydov
5f5fcfe560
Merge state-handler: add proper way of non-blinking lcd from vas-dav/state-machine
state-handler: add proper way of non-blinking lcd
2022-10-16 15:21:44 +03:00
Vasily Davydov
15bf2150ca state-handler: add proper way of non-blinking lcd
This commit adds a save() method for comparison of
values communicating via main and stateHandler to avoid
printing every milliseconds
2022-10-16 14:33:49 +03:00
Vasily Davydov
338bcea5ce timer: place global timer as a global variable 2022-10-16 14:30:32 +03:00
Vasily Davydov
5ff0c22758 state-handler: make temporary fix for flashing lcd 2022-10-16 14:30:32 +03:00
Vasily Davydov
dd00c13714 main: display blank values 2022-10-16 12:46:36 +03:00
Vasily Davydov
243766044c lcd: add internal columns, rows 2022-10-16 11:27:26 +03:00
Vasily Davydov
eec05297a3
Merge event: fix ambigouis constructor issue from vas-dav/state-machine
event: fix ambigouis constructor issue
2022-10-16 11:23:54 +03:00
Vasily Davydov
203cc03755 event: fix ambigouis constructor issue 2022-10-16 11:20:58 +03:00
Evgenii Meshcheriakov
b49115143c
Merge pull request #14 from vas-dav/state-machine
State machine: add pressure member
2022-10-14 17:03:38 +03:00
Vasily Davydov
fe1d8eea61 event: add pressure member
Addition of a pressure parameter called from main
and displayed on lcd
2022-10-14 16:55:26 +03:00
Vasily Davydov
1709c0520b event: add pressure member
Addition of a pressure parameter called from main
and displayed on lcd
2022-10-14 16:33:44 +03:00
Vasily Davydov
dcfb475ca1 state-hadler: change switch to if in displaySet
This commit resolves an issue of having a boolean in switch case
2022-10-14 16:22:30 +03:00
Vasily Davydov
5b2e5ff49c
Merge pull request #13 from vas-dav/state-machine
State-machine: add timer and ekey functionality
2022-10-14 16:08:58 +03:00
Vasily Davydov
17116e84ce timer: resolve a constructor issue 2022-10-14 16:07:03 +03:00
Vasily Davydov
52c4ebb003 timer: add Timer class
Timer class consists of systack_handler functionality
with an internal timer for global counter in main()
2022-10-14 14:20:00 +03:00
Vasily Davydov
1b4c37b9c5 state-handler: counter: modify limits 2022-10-14 14:04:05 +03:00
Vasily Davydov
acb1b73b9a state-handler: create eKey fucntionality
This commit introduces buttonHandling of esp-vent
within the StateHandler class and main().
2022-10-14 14:04:03 +03:00
Vasily Davydov
736d8aa1b7 Merge branch 'main' into state-machine 2022-10-14 12:45:19 +03:00
Vasily Davydov
885b23b832 state-handler: add buttonHandler 2022-10-14 12:44:14 +03:00
Miisa Ekholm
deebe74301
Merge pull request #10 from vas-dav/web
web-folder added
2022-10-13 18:20:39 +03:00
Miisa Ekholm
52370df9ce web-folder added 2022-10-13 17:45:33 +03:00
Vasily Davydov
0a0f55a079 state-handler: add printout in displaySet
Create printouts on lcd for both manual and auto modes.
2022-10-10 15:06:47 +03:00
Evgenii Meshcheriakov
76e63e9a22 PressureWrapper add static projects 2022-10-10 14:51:07 +03:00
Vasily Davydov
0492700f3c pressure-wrapper: format code 2022-10-10 14:33:59 +03:00
Vasily Davydov
62ea886575 Merge branch 'pressure-wrapper' of github.com:vas-dav/ESP-Ventilation into pressure-wrapper 2022-10-10 14:29:26 +03:00
Vasily Davydov
40a0f080b2 Merge branch 'main' into pressure-wrapper 2022-10-10 14:28:35 +03:00
Evgenii Meshcheriakov
8282b23235 PressureWrapper init 2022-10-10 14:26:59 +03:00
Vasily Davydov
2dd4d78bc2
Merge pull request #9 from vas-dav/state-handler
Create State/Event handler #6 and create basic state class
2022-10-10 13:21:20 +03:00
Vasily Davydov
e4f295427d state-handler: #6 fix name of the 'set' counter arr 2022-10-10 13:16:40 +03:00
Vasily Davydov
c82d4c75e8 state-handler: fix merge conflicts 2022-10-10 11:09:29 +03:00