73 Commits

Author SHA1 Message Date
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
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
Vasily Davydov
f8d1462113 Merge branch 'state-handler' of github.com:vas-dav/ESP-Ventilation into state-handler 2022-10-10 10:52:21 +03:00
Vasily Davydov
3dfc3d6d2a state-handler: #6 add basic states
Add the states:
- init
- manual
- auto
2022-10-10 10:47:14 +03:00
Vasily Davydov
69d767a73e state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:43:29 +03:00
Vasily Davydov
f95c15e13c state-handler: #6 change constructor args 2022-10-10 10:39:44 +03:00
Vasily Davydov
0c389658fa state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-10 10:38:36 +03:00
Vasily Davydov
0e404c4a92 state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:38:36 +03:00
Vasily Davydov
def05a17e1 state-handler: #6 change constructor args 2022-10-10 10:38:36 +03:00
Vasily Davydov
5268bc31c7 esp-vent-main: format with clang 2022-10-10 10:37:19 +03:00
Vasily Davydov
a6b953c51f Merge branch 'state-handler' of github.com:vas-dav/ESP-Ventilation into state-handler 2022-10-05 16:34:33 +03:00
Vasily Davydov
ff94a455a5 state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-05 16:34:14 +03:00
Vasily Davydov
2b2ffb6dcf state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-05 16:34:14 +03:00
Vasily Davydov
955a9750b3 state-handler: #6 change constructor args 2022-10-05 16:34:14 +03:00
Vasily Davydov
d6219e4ef4 state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-05 16:27:01 +03:00
Vasily Davydov
452a385756 state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-05 15:24:09 +03:00
Vasily Davydov
f9a1e411ae global: add .project in global 2022-10-05 15:24:09 +03:00
Vasily Davydov
0bb33cf857 gitignore: remove .project 2022-10-05 15:24:09 +03:00
Vasily Davydov
1809cd863b global: add .project in global 2022-10-05 15:19:42 +03:00
Vasily Davydov
b0bcd55fae gitignore: remove .project 2022-10-05 15:16:13 +03:00
Vasily Davydov
27741fc9f2 state-handler: #6 change constructor args 2022-10-05 11:47:14 +03:00
Vasily Davydov
15a825bbd0 state-handler: #6 add event class 2022-10-05 11:26:08 +03:00
Vasily Davydov
b231d6e9db state-handler: replace EVENT_HANDL struct with enum
This is done due to passing the values to the key event of the state
2022-10-05 11:16:22 +03:00
Vasily Davydov
f77fd5040d state-handler: fix constructor args 2022-10-05 11:04:10 +03:00
Vasily Davydov
19424b0976 state-handler: #6 rename header 2022-10-05 10:55:29 +03:00
Vasily Davydov
5eb7933676 state-handler: #6 rename the class 2022-10-05 10:27:12 +03:00
Vasily Davydov
5d23955574 wip: eventhandler: #6 document the class 2022-09-21 11:20:12 +03:00
Vasily Davydov
e8f3593704 eventhandler: #6 add basic members 2022-09-21 11:11:45 +03:00
Vasily Davydov
595243f41a eventhandler: add class #6 2022-09-21 11:01:28 +03:00
Vasily Davydov
f9516c6977 eventhandler: init #6 2022-09-21 10:39:29 +03:00
Vasily Davydov
7a49f9e808 i2c: resolve #4 2022-09-20 19:30:48 +03:00
Vasily Davydov
81a761beb5 lcd: resolve #1 2022-09-20 19:28:48 +03:00