87 Commits

Author SHA1 Message Date
RedHawk
2b785e5b0c prototype: Change pins to the prototype ones. 2023-06-11 12:17:43 +03:00
RedHawk
766e4ceb0f threads: [#60] Fix compilation errors. 2023-06-11 12:06:24 +03:00
vas-dav
1400feffde threads: [#60] display error when temperature is unavailable
- -128 as error signal (highly unlikely temp)
- errorView
2023-06-10 14:29:09 +03:00
RedHawk
c0f4911af0 Menu: [#53] Lower bound for desired temperature
* 10 is the lowest.
* Shifted it on screen to take only 2 cells.
2023-05-28 13:10:14 +03:00
RedHawk
dfa34d9d16 logging: [#54] Removed UART from ISR
*No reason to remove definition, since it is still usable.
For some reason, powered from my PC it works fine.
Yet, it is bad to call UART from ISR anyway, our rotary queue will
overflow from time to time, so it's better not to slow down processing.
2023-05-28 13:03:07 +03:00
RedHawk
f9a1066cd8 Master: [#5] Shift queue and task sizes.
*Relay: mitigate warning.
2023-05-28 13:03:07 +03:00
Vasily Davydov
cce1b2bf63 log: resolve [#51] 2023-05-19 01:43:35 +03:00
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
RedHawk
05037d2677 Relay: Missed break; 2023-05-18 23:54:22 +03:00
RedHawk
85520b6fad temperature: Sensor-specific handling. Proper delay. 2023-05-18 23:54:22 +03:00
Vasily Davydov
1ce12cfd02 master: add more strict debug to queue send 2023-05-18 23:54:22 +03:00
Vasily Davydov
1b3a7f4f75 temperature: [#9] [#11] fix temp_value with error value 2023-05-18 23:52:08 +03:00
Vasily Davydov
ef32a5077b temperature: [#9] [#11] send Event to master 2023-05-18 23:52:08 +03:00
RedHawk
599be89871 clock: Fixed the bug with multitask. 2023-05-18 23:52:08 +03:00
RedHawk
b891695bfc temperature: Fixing issues.
*We are running out of memory.
*Less safe I2C transaction.
*Discovered a bug in clock.
2023-05-18 23:52:08 +03:00
RedHawk
fc2a05a9d8 temperature: Temperature sensor handling. 2023-05-18 23:52:07 +03:00
RedHawk
f578fd2854 temperature: Base for temperature thread 2023-05-18 23:52:07 +03:00
Vasily Davydov
2ccce7a6b2 event: [#46] remove deprecated methods 2023-05-18 23:46:05 +03:00
Vasily Davydov
90e4e0e43d threads: master: [#46] add error on Evemt::Null 2023-05-18 23:44:38 +03:00
Vasily Davydov
5441e3a9ca threads: master: [#46] correct if statement 2023-05-18 23:42:46 +03:00
Vasily Davydov
7c7e69ffa1 threads: manager: [#46] renmae event handling method 2023-05-18 23:36:47 +03:00
Vasily Davydov
6d80c979d8 threads: rotary: [#46] use new Event 2023-05-18 23:34:48 +03:00
Vasily Davydov
c5692fd5ba threads: relay: [#46] use new Event 2023-05-18 23:32:27 +03:00
Vasily Davydov
23dda8ba74 threads: master: [#46] use new Event 2023-05-18 23:32:04 +03:00
Vasily Davydov
2f6bce5d9a threads: manager: [#46] use new Event 2023-05-18 23:24:08 +03:00
Vasily Davydov
4c0bc407dc event: [#46] prepare event to deprecate map usage 2023-05-18 23:19:11 +03:00
RedHawk
5897bc0610
Merge pull request #45 from vas-dav/logging
Logging
2023-05-15 13:05:25 +03:00
RedHawk
f6c7586bed menu: [#43] Get the set_point from the EEPROM 2023-05-15 12:46:49 +03:00
RedHawk
27346abb47 menu: [#43] Fix the stack size. 2023-05-15 11:47:52 +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
RedHawk
cd097d7883 logging: Base for Clock.
*Doesn't work, yet.
2023-05-14 16:20:46 +03:00
RedHawk
c193de14a9 logging: Added timestamp and function to logging. 2023-05-13 02:07:15 +03:00
RedHawk
b9f966dd89 relay: [#9] Small fixes.
*Task function now actually gets executed.
*Power modes now work properly.
2023-05-13 02:04:39 +03:00
Vasily Davydov
a0023e622e relay: [#9] utilize parsed event data 2023-05-13 01:33:37 +03:00
Vasily Davydov
b7196b769e relay: [#9] control the power mode 2023-05-13 01:11:12 +03:00
Vasily Davydov
c468a0d828 relay: [#9] remove en pins from relaydevice 2023-05-13 00:26:48 +03:00
Vasily Davydov
07a6937077 relay: [#9] create Event parser 2023-05-13 00:24:31 +03:00
Vasily Davydov
1d9e53dc20 relay: [#9] create relaydevice 2023-05-13 00:00:46 +03:00
Vasily Davydov
2a42371458 relay: [#9] init task 2023-05-12 23:32:55 +03:00
RedHawk
e5bb200789 logging: Better logging. Fixed pins printout. 2023-05-12 17:08:01 +03:00
RedHawk
d1d90a553a logging: LOG_DEBUG should print C_DEBUG. 2023-05-12 16:55:18 +03:00
RedHawk
734393831e logging: Fixing hard faults. Small cleanup.
*Lesser queue size.
*Removed recursive master task creation.
*Logging task now has a loop.
*Little fixes and cleanup here and there.
2023-05-12 16:44:11 +03:00
Vasily Davydov
2c3e1a8dc8 logging: don't ask... 2023-05-12 13:59:49 +03:00
Vasily Davydov
398030afe8 log: add a comment regarding mts 2023-05-12 01:16:55 +03:00
Vasily Davydov
1a4c09c4ad threads: add logging 2023-05-12 00:57:55 +03:00
Vasily Davydov
90656fae95 log: correct macros 2023-05-12 00:56:33 +03:00
Vasily Davydov
3fe383f180 menu: add debug logging to menu 2023-05-11 17:04:43 +03:00