Open kierdavis opened 6 years ago
AVR devices support going into a variety of low-power sleep modes.
This could be done in Util::Serial::readBlocking, which is where the firmware spends the majority of its idle time.
Util::Serial::readBlocking
It may also be possible to do this during ultrasound measurements, but this may warrant reimplementing the functionality of pulseIn.
pulseIn
AVR devices support going into a variety of low-power sleep modes.
This could be done in
Util::Serial::readBlocking
, which is where the firmware spends the majority of its idle time.It may also be possible to do this during ultrasound measurements, but this may warrant reimplementing the functionality of
pulseIn
.