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

Add comment lines for temperature reading #495

Merged
merged 1 commit into from
May 24, 2024

Conversation

MSECode
Copy link
Contributor

@MSECode MSECode commented May 23, 2024

With this PR I've added some lines of comment to the file emBODY/eBcode/arch-dspic/board/2foc/appl/2FOC-V3/src/i2cTsens.c so that one can understand what the different registries mean and how the reading and transmission of the temperatures values works in relation to the TDB board and how the transmission is managed on the I2C protocol between 2foc and TDB.

So, in this PR we just have added comments explaining the whole pipeline responsible for the temperature reading and transmission over I2C and especially the reason why we are configuring the sensor in a specific manner.

@MSECode MSECode requested review from valegagge and marcoaccame May 23, 2024 09:16
@MSECode MSECode self-assigned this May 23, 2024
@MSECode MSECode force-pushed the fix/documentTempReading branch from d6f86b2 to 92e2a00 Compare May 23, 2024 09:18
@MSECode MSECode force-pushed the fix/documentTempReading branch from 92e2a00 to 3f58d44 Compare May 23, 2024 09:20
Copy link
Member

@valegagge valegagge left a comment

Choose a reason for hiding this comment

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

LGTM thanks @MSECode

@valegagge valegagge merged commit b10757f into robotology:devel May 24, 2024
@MSECode MSECode deleted the fix/documentTempReading branch December 13, 2024 15:33
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