Commit Graph

132 Commits

Author SHA1 Message Date
9cf37461d2 Add something stuff, not work 2024-04-10 15:52:07 +02:00
14c09f63a9 MCC does not work 2024-04-10 14:53:17 +02:00
Inamr
23904b03ea right pins 2024-04-09 16:46:54 +02:00
1b8ca0c7f6 Merge branch 'voltage-reading' into main 2024-04-09 16:20:46 +02:00
Inamr
63aa397b78 testing with hardware
cli and function names
2024-04-09 16:17:34 +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
cd97face0f Fix xml file (maybe) 2024-04-09 15:39:11 +02:00
b0c0efa4fc Delete a line 2024-04-09 15:29:32 +02:00
Inamr
a6d1afb0bf removed old funv from main. copied config from main 2024-04-09 15:26:13 +02:00
91ee8b1af8 Add muxpos to internal voltage 2024-04-09 14:56:14 +02:00
Inamr
f1c9a0707e made code for fan speed 2024-04-09 14:53:32 +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
Inamr
9b23172eba Merge branch 'voltage-reading' into calculate-fanspeed 2024-04-09 12:38:34 +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
Inamr
48308b9b75 renames files 2024-03-20 15:27:59 +01:00
Inamr
ce58f79c6f renamed files 2024-03-20 15:27:41 +01:00
Inamr
dc8a858204 resets array and puts diode readings in array 2024-03-20 15:25:59 +01:00
Inamr
8b5b4e186a Merge remote-tracking branch 'origin/voltage-reading' into calculate-fanspeed 2024-03-20 14:52:28 +01:00
Inamr
427000ff9e made array 2024-03-20 14:36:58 +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
Inamr
88415ddec1 RTC init and timer 2024-03-20 12:33:03 +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
Inamr
df3d0c6ce6 made interrupts as timer 2024-03-19 14:29:57 +01:00
bf4f3aaa81 fix return array 2024-03-19 14:02:10 +01:00
Inamr
9aa9c444c1 Fix libaries 2024-03-19 13:11:52 +01:00
Inamr
d14044e8df Made a formula for calc speed 2024-03-19 12:59:56 +01:00
Inamr
49c0874445 delete unused source file 2024-03-19 12:30:20 +01:00
Inamr
b7e6bb6d04 made func 2024-03-13 13:58:14 +01:00
Inamr
a0fa78405a made func 2024-03-13 13:57:38 +01:00
Inamr
a4a760a870 Made files 2024-03-13 13:39:35 +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
Inamr
efe623936a Made it into its own func 2024-03-13 11:46:02 +01:00
8e58925dd1 Add comments 2024-03-13 11:21:14 +01:00
c48f87bcea write to update, and uart away. 2024-03-13 10:34:46 +01:00
5e22a493e2 Fix source files 2024-03-13 10:25:36 +01:00
Inamr
4105c1ff04 moved voltage fram main to c file 2024-03-12 13:37:29 +01:00
Inamr
18ea74bbb6 IT WORKS 2024-03-12 13:26:12 +01:00
Inamr
9a38ea8911 Fix merge issues 2024-03-12 13:13:06 +01:00
Inamr
d8bd6917f6 Merge remote-tracking branch 'origin/main' into voltage-reading 2024-03-12 12:57:20 +01:00
Inamr
f657a7d0c7 Remove UART 2024-03-12 12:55:57 +01:00
Inamr
57a0c0979b Fixed ADC0_init 2024-03-12 12:49:42 +01:00
Inamr
86c127d3cd small fix 2024-03-11 15:54:52 +01:00
Inamr
8f63e7b0c3 Dont work 2024-03-11 15:48:20 +01:00
Inamr
3c08e59843 Some stuff workes better 2024-03-08 14:00:01 +01:00
Inamr
6b0608e04b Create draft, kinda workes 2024-03-08 13:29:55 +01:00
555d3efde4 add calculating code 2024-03-08 11:48:49 +01:00
6d6ea9606e fix comments and variable names 2024-03-06 20:05:52 +01:00
Sebastian H. Gabrielli
7dd8b67378 Add comments 2024-03-06 15:55:56 +01:00
Inamr
0aa9376fa6 header fixed 2024-03-06 15:54:29 +01:00
Inamr
d2a74fb024 Small fix 2024-03-06 15:54:01 +01:00
bd424b78d1 fix source files 2024-03-06 15:49:48 +01:00
Inamr
5be15a53f9 Remove stuff that was unnecessary 2024-03-06 15:46:56 +01:00
Sebastian H. Gabrielli
06beadfe68 Add UART functionality 2024-03-06 15:36:24 +01:00
Inamr
65fd9d375c Corrected header 2024-03-06 15:27:54 +01:00
7008037de9 Fix EEPROM is ready 2024-03-06 15:27:30 +01:00
27d8d44d34 Fix eeprom
EEPROM works
2024-03-06 15:24:34 +01:00
Inamr
7d984eab63 Small change in added shit 2024-03-06 15:22:40 +01:00
Inamr
e66d1979bb added shit 2024-03-06 15:16:01 +01:00
Sebastian H. Gabrielli
ac78f33c98 Create basic i2c skeleton with interrupts
I2C init function has been created.
Interrupts have been made for each I2C interrupt. Which interrupt does
what is currently unknown.

See #1
2024-03-06 14:58:49 +01:00
Inamr
bf5c83de2a try to figure out how stuff works 2024-03-06 14:58:06 +01:00
8b73051ece add eeprom code, not work 2024-03-06 14:49:16 +01:00
Sebastian H. Gabrielli
45bc800397 Implement command parser up to second parameter
The command parser has been implemented for all options other than the
config option.

See #1
2024-03-06 13:51:52 +01:00
Sebastian H. Gabrielli
06d5c3c464 Create basic command handler skeleton
The groundwork for the command handler has been created.
2024-03-06 13:20:10 +01:00
Sebastian H. Gabrielli
39c91a18dd Create MPLabX project 2024-03-06 12:34:22 +01:00