Skip to content

Conversation

@Burke-Daniel
Copy link
Member

This PR contains the I2C interface code for the DPS310 pressure sensor being used in Wind Tunnel testing. This code came from the vendor, but was refactored to remove inheritance and virtual function calls, to be more compliant with typical embedded software standards.

If you see anything that may need to be written/refactored/improved, let me know.

@Burke-Daniel Burke-Daniel changed the title Feature/nd/pressure sensor i2 c interface DPS310 I2C Pressure Sensor Interface Oct 3, 2020
@Burke-Daniel
Copy link
Member Author

Copy link
Member

@colton-smith colton-smith left a comment

Choose a reason for hiding this comment

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

Missing newlines at EOF then GTM

uint8_t length;
} RegBlock_t;

#endif No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

No newline at EOF


const RegBlock_t coeffBlock = {0x10, 18};
} // namespace dps310
#endif No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

No newline at EOF

};

} // namespace dps
#endif /* DPS_CONSTS_H_ */
Copy link
Member

Choose a reason for hiding this comment

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

No newline at EOF

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.

5 participants