5 Commits

Author SHA1 Message Date
RedHawk
ea1139567a UI: [#35] Fixing issues.
*Send UserInterface::InterfaceWithData in the queue instead of Event.
*Remove pointer madness for LCD.
*Timeout for Idle Event from Master thread.
2023-05-09 01:14:47 +03:00
RedHawk
f0bbfb22ab Menu & UI: [#25, #35]Communication between these tasks.
* The code is a mess for now. I'm not sure if there is any reason to
send a whole event to UI, it's better to send InterfaceWithData.
* Sending to queue from Menu isn't great as well.
2023-05-08 16:09:31 +03:00
RedHawk
d3f5cdebbc menu: [#25] Made states. Moved logic to Menu.
*Menu class now is responsible for the whole logic with
temperature and set_point.
*void NotifyAndRefreshUI (const char *str) is a placeholder
for sending a string value on a queue to UI task,
which will handle the lcd screen.
*Added error return value to Manager::parseEvent(Event* e)
2023-05-08 13:08:01 +03:00
Vasily Davydov
fad70c9f37 menu: [#25] rename event to state 2023-05-07 17:45:23 +03:00
Vasily Davydov
01855e2f52 manager: [#25] menu class init 2023-05-07 17:45:23 +03:00