Skip to content

Commit

Permalink
Try to print debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Aug 3, 2024
1 parent 072c2b9 commit 711e544
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/drivers/hygrometer/sht4x/sht4x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ void SHT4X::sensor_compouse_msg(bool send)
int
SHT4X::probe()
{
return read_serialnumber();
//return read_serialnumber();
// 0 means I can see sensor
return 0;
}

int SHT4X::init()
Expand Down Expand Up @@ -247,7 +248,7 @@ int sht4x_main(int argc, char *argv[])
{
using ThisDriver = SHT4X;
BusCLIArguments cli{true, false};
cli.default_i2c_frequency = 400000;
cli.default_i2c_frequency = 100000;
cli.i2c_address = 0x44;
cli.support_keep_running = true;

Expand Down

0 comments on commit 711e544

Please sign in to comment.