Skip to content

Commit

Permalink
Remove reset instruction
Browse files Browse the repository at this point in the history
Should only reset after sensor power on. Turns out the bme680 sensor tracks some parameters in registers that get nulled when reset.
  • Loading branch information
Nailim committed Aug 28, 2023
1 parent 7af14be commit 0de55f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions collectbme680fs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ if (test -r /srv/bme680) {

# if mounted collect data and save
if (test -r /mnt/bme680/all) {
# reset sensor and parameters to default state
echo reset > /mnt/bme680/ctl

# read sensor data
bmeraw=`{cat /mnt/bme680/all}
#echo $bmeraw >>/sys/log/bme680
Expand Down

0 comments on commit 0de55f3

Please sign in to comment.