a62732a1b5
Think I found the bug
...
Some kind of integer issue with dividing or something
2023-10-31 22:40:17 +00:00
6ed826ed7a
There's a bug with the rolling average
...
Not quite sure where though
2023-10-31 22:12:51 +00:00
0bbae8a254
I think this could be because I'm printing a u16 when it should be i16
2023-10-31 21:46:36 +00:00
7b29ea24db
Cleanedup code and added some logging
...
I think the averaging is working - will need to check the 10 minutes
2023-10-31 21:24:21 +00:00
36041e63d2
The reading doesn't work with WiFi enabled
...
Just get timing errors
2023-10-31 21:00:44 +00:00
69a7732017
Can't believe I fucked the for loop like that
...
Well I can believe it
2023-10-30 22:58:28 +00:00
e139aa7e9c
Every 4th byte comes back with zero time elapsed high.
...
Really don't know why
2023-10-30 22:13:16 +00:00
089d8a62f1
I get a timing error on every 4th bit
...
No idea why
2023-10-30 22:13:02 +00:00
6b40f97ba5
DHT22 is not working how I want it to
...
Need to keep debugging it... think of a different way to approach it maybe
2023-10-30 21:11:24 +00:00
556e0786da
Only get and convert time when using it
2023-10-28 17:33:49 +01:00
5c6a89df87
Ran clang-format
2023-10-28 17:28:13 +01:00
ebd2909d15
10 minute average complete
...
Need to actually test it. I'm never confident with programming
and definitely not when writing C
2023-10-28 17:25:08 +01:00
ac1fcbc5a5
I think this is the correct way to implement a rolling average
...
I can probably the time conversion part into the "saving" section when
that's done
2023-10-28 17:17:50 +01:00
bbfc55a066
Added SNTP and start of data logging
2023-10-28 13:40:19 +01:00
cf9a549cf2
Added Wifi
...
Seems to be working.
It's 90% the same code as the examples
2023-10-28 00:58:33 +01:00
e8c1dc0647
Added a random error checking function
...
Not actually sure I'll use it?
2023-10-25 22:11:04 +01:00
ce0de58466
Fleshing out some more parts
2023-10-25 21:43:47 +01:00
916e551d39
I think I've got something working
...
I can't believe it was that random stack size
I think at least... could be anything to be honest
2023-10-25 20:54:30 +01:00
a8c18feb81
I can't get this task stuff working
...
Going to try simplify it by not using group bits
2023-10-25 20:19:33 +01:00
6354e937fb
Task management still not working
...
The DHT task (or whatever is called later) isn't actually re-entering (I think
that's the right term?)
2023-10-25 20:09:03 +01:00
90e4837851
Different stack trace now...
2023-10-25 19:55:54 +01:00
ae598ea5b9
Issues with stack traces when 3 tasks running
...
I think it could be with ISR... maybe? I'm not 100% what an interrupt
actually realy is
2023-10-25 19:50:10 +01:00
bef67215cb
Created some tasks
2023-10-25 19:18:26 +01:00
5efca6b3c0
Figured out how to turn on PSRAM
...
Now it looks like you can just allocate from a regular "malloc"
Code ran successfully (afaict) when writing to 7MB - didn't seem
to when doing 8MB. Not 100% sure why, but I don't think it'll
matter tbh
2023-10-24 22:07:59 +01:00
6b9ec20b72
Started some DHT22 stuff
...
Haven't tested it at all
2023-10-23 22:34:21 +01:00
92949ea84d
Trying to get Kconfig to work
...
There's something wrong with the importing part I think
2023-10-23 21:30:38 +01:00
b48adeb547
Initial Commit
2023-10-23 20:35:50 +01:00