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

[sensor] add: dht #2

Merged
merged 1 commit into from
Feb 3, 2023
Merged

[sensor] add: dht #2

merged 1 commit into from
Feb 3, 2023

Conversation

Z8MAN8
Copy link
Contributor

@Z8MAN8 Z8MAN8 commented Feb 3, 2023

No description provided.

sensor_temp->info.vendor = RT_SENSOR_VENDOR_ASAIR;
sensor_temp->info.name = sensor_name;
sensor_temp->info.unit = RT_SENSOR_UNIT_CELSIUS;
sensor_temp->info.intf_type = RT_SENSOR_INTF_I2C;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
sensor_temp->info.intf_type = RT_SENSOR_INTF_I2C;
sensor_temp->info.intf_type = RT_SENSOR_INTF_ONEWIRE;

sensor_humi->info.vendor = RT_SENSOR_VENDOR_ASAIR;
sensor_humi->info.name = sensor_name;
sensor_humi->info.unit = RT_SENSOR_UNIT_PERCENTAGE;
sensor_humi->info.intf_type = RT_SENSOR_INTF_I2C;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
sensor_humi->info.intf_type = RT_SENSOR_INTF_I2C;
sensor_humi->info.intf_type = RT_SENSOR_INTF_ONEWIRE;

Adafruit-DHT/sensor_adafruit_dht.cpp Outdated Show resolved Hide resolved
@mysterywolf mysterywolf merged commit 14e195b into RTduino:master Feb 3, 2023
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