-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat(Examples,MiscDrivers): Add ADT7420 I2C Sensor Driver and Example for MAX32655EVKIT #853
Merged
Jake-Carter
merged 39 commits into
analogdevicesinc:main
from
selimgullulu:add_ADT7420_sensor_driver
Jan 9, 2024
Merged
feat(Examples,MiscDrivers): Add ADT7420 I2C Sensor Driver and Example for MAX32655EVKIT #853
Jake-Carter
merged 39 commits into
analogdevicesinc:main
from
selimgullulu:add_ADT7420_sensor_driver
Jan 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial version of the readme.md created
Made format changes
Added .cproject .project main.c and project.mk
populating the .vscode files
Uploaded the .vscode folder files: flash.gdb launch README settings tasks
creating the .settings folder (blank language.settings)
updated c_cpp_properties.json
deleted the blank c_cpp_properties file
deleted blank language.settings file
Created blank adt7420_driver.c file
uploaded adt7420_driver.c and adt7420_driver.h
added the .cproject from the I2Csensor
copied the .project from the vscode folder
Changed the I2C_Sensor to I2C_Sensor_ADT7420
as said in the message
got the hello_world .cprojet and renamed the content "Hello_World" to "I2C_Sensor_ADT7420"
got the content from Hello_World and modified the name
renamed from I2C_Sensor to I2C_Sensor_ADT7420
Added the serial output with: The Device ID is: 0xCB
Removed unnecessary comments and added the Default I2C address comment for EVAL-ADT7420MBZ (0x49)
modified minor format & comment issues
serial output updated with the connection requirements
…ple, however it'll be required for advanced operations such as shutting down the sensor for low power.
No initialization necessary, replaced the word.
selimgullulu
changed the title
feat(Examples,PeriphDrivers): Add ADT7420 I2C Sensor Driver and Example for MAX32655EVKIT
feat(Examples,MiscDrivers): Add ADT7420 I2C Sensor Driver and Example for MAX32655EVKIT
Jan 3, 2024
selimgullulu
requested review from
ozersa,
Jake-Carter,
lorne-maxim and
sihyung-maxim
January 4, 2024 08:54
sihyung-maxim
previously requested changes
Jan 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source code looks good, thanks for your contributions!
/clang-format-run |
…ullulu/msdk into add_ADT7420_sensor_driver
… copyright version (and without the Maxim copyright lines)
Updated the readme.md file to reflect the correct decimal temperature reading for the adt7420 sensor
Jake-Carter
approved these changes
Jan 9, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @selimgullulu
Thank you Jake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR is introducing the driver and the example code for the ADT7420 Temperature Sensor for MAX32655EVKIT. It's tested using the EVAL-ADT7420MBZ with the MAX32655EVKIT. The code is mainly a modification of the I2C_Sensor example (which uses MAX31889). Please see the setup below and the serial output:
New example is introduced in folder:
Examples\MAX32655\I2C_Sensor_ADT7420
The misc drivers for the ADT7420 in folder:
Libraries\MiscDrivers\TempSensor\ADT7420
All files are checked and modified by cpplint and clang-format.