Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created sht30 internal temp fault monitoring #55

Closed
wants to merge 2 commits into from
Closed

Conversation

fox-w
Copy link

@fox-w fox-w commented Nov 6, 2023

No description provided.

Copy link
Contributor

@dyldonahue dyldonahue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was pretty much all good. few nitpicks, and then i may ask u to restructure once i merge in shepherd building because it looks like itll be somehwat simple enough. good work

@@ -4,6 +4,7 @@
//#include <nerduino.h> Replace
#include "datastructs.h"
#include "segment.h"
#include "Core/Drivers/Embedded-Base/general/include/sht30.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ive discovered that for whatever reason it doesnt love the full path, so actually just "sht30.h" will work better

/**
* @brief Create a new object to store the most recent data point for the temp sensor
*/
sht30_t* sht30data;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like the @brief got doubled here, but also dont think we need one at all. creating an sht30 object right nect to an acc data one is pretty self explanatory imo, so feel free to remove both

@@ -115,14 +115,16 @@ Timer ocvTimer;

bool is_first_reading_ = true;

void push(AccumulatorData_t* data)
void push(AccumulatorData_t* data, sht30_t* sht30data)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just gonna wanna update the acual call of this function in main.c to use this new param as well

@dyldonahue
Copy link
Contributor

meerged through another PR

@dyldonahue dyldonahue closed this Nov 19, 2023
@dyldonahue dyldonahue deleted the 18-int-temp-fault branch November 30, 2023 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants