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

intergated sht #218

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

intergated sht #218

wants to merge 1 commit into from

Conversation

marvin-g-personal
Copy link

Changes

Added wrappers to integrated agnostic version of sht30

Notes

Should be 100% fine afiak; I looked at all of Ciao's work

Test Cases

  • TBD

To Do

Any remaining things that need to get done

  • testing?

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please reach out to your Project Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • [X ] No merge conflicts
  • All checks passing
  • [ X] Remove any non-applicable sections of this template
  • [ X] Assign the PR to yourself
  • [X ] Request reviewers & ping on Slack
  • [X ] PR is linked to the ticket (fill in the closes line below)

Closes # (issue 160)

mpu->temp_sensor->i2c_handle = hi2c;
assert(!sht30_init(mpu->temp_sensor)); /* This is always connected */
assert(!sht30_init(mpu->temp_sensor, temp_write_reg,
temp_read_reg)); /* This is always connected */

assert(!HAL_ADC_Start_DMA(mpu->pedals_adc, mpu->pedal_dma_buf,
sizeof(mpu->pedal_dma_buf) /
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks good to me. @jr1221 we dont have one of these on mpu right now do we? if not i say we can just merge this one ths embedded base PR looks good. If there is one of these on mpu, lets test before merge

Choose a reason for hiding this comment

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

what kind of testing should I do? I didn't see any test files in caios work, is there a standard for testing in C that NER uses?

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.

3 participants