RedHawk
090c551e39
menu: [ #38 ] Proper UIString construction
2023-05-19 01:30:48 +03:00
Vasily Davydov
cbd08e8860
menu: [ #38 ] resolve Menu array of string elements
2023-05-19 01:02:44 +03:00
RedHawk
353fea2255
temperature: Change to new Event.
2023-05-19 00:10:47 +03:00
Vasily Davydov
7c7e69ffa1
threads: manager: [ #46 ] renmae event handling method
2023-05-18 23:36:47 +03:00
Vasily Davydov
2f6bce5d9a
threads: manager: [ #46 ] use new Event
2023-05-18 23:24:08 +03:00
RedHawk
f6c7586bed
menu: [ #43 ] Get the set_point from the EEPROM
2023-05-15 12:46:49 +03:00
Vasily Davydov
7394202b51
menu: [ #43 ] send SetPoint to master on queue
2023-05-15 10:17:36 +03:00
Vasily Davydov
b2a29edc45
menu:[ #43 ] read/write setpoint within eeprom
2023-05-15 10:12:24 +03:00
Vasily Davydov
3fe383f180
menu: add debug logging to menu
2023-05-11 17:04:43 +03:00
RedHawk
2b02a786fa
Menu & UI: [ #25 , #35 ] Fixed UI.
...
*String in Menu are static. Temperature is limited by -99 and 99 bounds.
*UserInterface cleaned a bit.
2023-05-10 13:11:41 +03:00
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
bd2f6b32f1
menu: [ #25 ] fix warnings and add assertions
2023-05-07 17:45:23 +03:00
vas-dav
83de15ce5b
menu: [ #25 ] handle eventpair with rotary
2023-05-07 17:45:23 +03:00
Vasily Davydov
01855e2f52
manager: [ #25 ] menu class init
2023-05-07 17:45:23 +03:00