Skip to content

Commit

Permalink
Update ResistanceSensor.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Nov 24, 2024
1 parent d6a3d6c commit 970e0bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbn_m5atomS3_lite_resistance_Ohm/ResistanceSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ struct ResistanceSensor {
ResistanceConfiguration voltage_divider_type = DOWNSTREAM;
double reference_voltage = 3.3; // in volts
double reference_resistance = 100; // in Ohms
double measured_resistance; // in Ohms
};

void ResistanceSensor_init(ResistanceSensor* rs, int pin, ResistanceConfiguration conf,
Expand Down

0 comments on commit 970e0bb

Please sign in to comment.