Sebastian H. Gabrielli
|
4666f79dd3
|
Init the fan history as 0 and add Ina to authors in main
|
2024-04-28 20:23:17 +02:00 |
|
Sebastian H. Gabrielli
|
d31f03b6c7
|
Delete unused EEPROM code & update comments
We don't use a lot of the written EEPROM code.
This unused code has now been deleted
|
2024-04-28 20:21:56 +02:00 |
|
Sebastian H. Gabrielli
|
6acdb2beb6
|
Rename receive buffer for better clarity & add comment
|
2024-04-28 20:14:27 +02:00 |
|
Sebastian H. Gabrielli
|
ba54ff20ef
|
Fix master slave naming and remove dead code
|
2024-04-28 20:12:24 +02:00 |
|
Sebastian H. Gabrielli
|
8f61e6b998
|
Validate that we do not overflow the receive buffer
Closes #20
|
2024-04-28 20:10:01 +02:00 |
|
Sebastian H. Gabrielli
|
ae1c50ee09
|
Writing config works
|
2024-04-27 15:39:46 +02:00 |
|
Sebastian H. Gabrielli
|
f654ae96f6
|
Add case structure for better handling of future config params
A case structure to send the correct config value has been added.
|
2024-04-27 14:55:44 +02:00 |
|
Sebastian H. Gabrielli
|
dd624d4d48
|
Reading config parameter works
|
2024-04-27 14:52:46 +02:00 |
|
Sebastian H. Gabrielli
|
fb24365469
|
Prepare for write config
|
2024-04-24 15:50:58 +02:00 |
|
Sebastian H. Gabrielli
|
b8d19731ad
|
Clear fan data works
|
2024-04-24 15:43:27 +02:00 |
|
Sebastian H. Gabrielli
|
822845cc7a
|
Read temperature command works
|
2024-04-24 13:40:45 +02:00 |
|
Sebastian H. Gabrielli
|
1eaeeef9a0
|
Read temperature over I2C works
Has not been tested with thermistor as I didn't have the hardware.
Testing with a hardcoded positive number works.
|
2024-04-24 13:24:15 +02:00 |
|
Sebastian H. Gabrielli
|
d964ebea37
|
Handle read single fan speed
|
2024-04-23 15:45:41 +02:00 |
|
Sebastian H. Gabrielli
|
bf3753a012
|
I2C bulk fan read works
|
2024-04-23 15:31:32 +02:00 |
|
|
|
e6a3815dc2
|
Merge branch 'thermistor-temp' into main
|
2024-04-16 18:00:41 +02:00 |
|
|
|
933949dcff
|
Fix variable name and led
|
2024-04-16 17:24:54 +02:00 |
|
Sebastian H. Gabrielli
|
a9fec3f661
|
Merge branch 'command-handler'
|
2024-04-16 17:02:59 +02:00 |
|
Sebastian H. Gabrielli
|
5ea7be0728
|
Explain pos variable
|
2024-04-16 16:20:32 +02:00 |
|
Sebastian H. Gabrielli
|
b1ca4c05bf
|
Rename foo in command handler to a more descirptive name
"foo" -> "command_byte"
|
2024-04-16 16:17:35 +02:00 |
|
|
|
9f27bc8454
|
Fix names
|
2024-04-16 15:56:51 +02:00 |
|
Sebastian H. Gabrielli
|
7e59368252
|
Implement handling reading more than one byte
|
2024-04-16 15:35:43 +02:00 |
|
Sebastian H. Gabrielli
|
9fd877aab5
|
Command handing works!
The command handler can now receive a command, then it can run a
function / return some data based on it.
|
2024-04-16 15:30:38 +02:00 |
|
|
|
1b8ca0c7f6
|
Merge branch 'voltage-reading' into main
|
2024-04-09 16:20:46 +02:00 |
|
|
|
ca28e23b70
|
Fixed header, comments and Muxpos
|
2024-04-09 16:13:04 +02:00 |
|
|
|
7f3c1fa7c1
|
Commented the code
|
2024-04-09 15:58:17 +02:00 |
|
|
|
ee6e6a6d07
|
Make voltage converter
|
2024-04-09 15:54:42 +02:00 |
|
|
|
b0c0efa4fc
|
Delete a line
|
2024-04-09 15:29:32 +02:00 |
|
|
|
91ee8b1af8
|
Add muxpos to internal voltage
|
2024-04-09 14:56:14 +02:00 |
|
|
|
ae28be55d3
|
Fix muxpos
|
2024-04-09 14:36:11 +02:00 |
|
|
|
953034cab8
|
Add thermistor adc reading
|
2024-04-09 13:50:02 +02:00 |
|
|
|
a9f5c42243
|
Fix comments
|
2024-04-09 13:37:38 +02:00 |
|
|
|
81ebcd2c79
|
Merge branch 'eeprom' into main
|
2024-04-09 12:33:46 +02:00 |
|
Inamr
|
c189291012
|
test
|
2024-03-26 13:35:36 +01:00 |
|
Inamr
|
be82194a6d
|
add bracket
|
2024-03-20 16:11:01 +01:00 |
|
Inamr
|
b8e2305349
|
Auto stash before merge of "voltage-reading" and "origin/voltage-reading"
|
2024-03-20 16:09:16 +01:00 |
|
Inamr
|
980e6b7c5a
|
renamed diode voltage read
|
2024-03-20 15:53:26 +01:00 |
|
Inamr
|
b862266362
|
Sync changes and added func for both voltages
|
2024-03-20 15:45:24 +01:00 |
|
|
|
1b6294b04b
|
Fix overflow
uint8_t -> uint16_t
|
2024-03-20 14:18:45 +01:00 |
|
Sebastian H. Gabrielli
|
8e3607cbda
|
Store and hold I2C data
I2C data is now stored until stop is sent, then printed.
|
2024-03-20 13:24:55 +01:00 |
|
Sebastian H. Gabrielli
|
4e0b810346
|
Functioning I2C slave data receive
The slave now receives and prints data successfully.
|
2024-03-20 13:00:40 +01:00 |
|
Sebastian H. Gabrielli
|
e1c607514b
|
Merge branch 'add-uart' into command-handler
|
2024-03-20 11:20:22 +01:00 |
|
|
|
849c719b59
|
Change error temp
Make it able to innputt a chosen max temp
|
2024-03-20 11:06:46 +01:00 |
|
|
|
7bcec13f6e
|
Merge two lines
|
2024-03-20 10:53:46 +01:00 |
|
|
|
5b884a50e2
|
Fix return error
|
2024-03-20 10:52:38 +01:00 |
|
|
|
bf4f3aaa81
|
fix return array
|
2024-03-19 14:02:10 +01:00 |
|
Inamr
|
4a66e1dcdc
|
add comments
|
2024-03-13 13:16:16 +01:00 |
|
Inamr
|
24190f1f15
|
Made a bool for error and high temp
|
2024-03-13 13:07:29 +01:00 |
|
Inamr
|
25050d4500
|
Made comments on the code
|
2024-03-13 12:13:38 +01:00 |
|
|
|
a8be04b583
|
Fix names
|
2024-03-13 12:03:40 +01:00 |
|
|
|
4a8b6137d1
|
Change namingsheme
|
2024-03-13 11:48:58 +01:00 |
|