Skip to content

Commit

Permalink
Added Reset Function for FDC1004
Browse files Browse the repository at this point in the history
  • Loading branch information
ColpittsEEE committed Nov 21, 2024
1 parent d0e825c commit bd573db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Modulino.h
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,12 @@ class ModulinoFarad: public Module {
return _sensor->getChannelMeasurement(channel);
return 0;
}

void resetRequest()
{
if (initialized)
_sensor->resetRequest();
}

private:
FDC1004Class* _sensor = nullptr;
Expand Down

0 comments on commit bd573db

Please sign in to comment.