KIR Misc Functions.ino: Difference between revisions

From AnalysIR WiKi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
* Setting MCU oscillator frequency
* Setting MCU oscillator frequency
* Supply voltage measurement
* Supply voltage measurement
* reading average supply votage from ADC
* Reading average supply votage from ADC
* Printing out ATmega328PB fuse settings and lockbits, in debug mode.
* Printing out ATmega328PB fuse settings and lockbits, in debug mode.



Revision as of 13:11, 24 October 2019

> KontroLIR Home


These miscelaneous functions cover:

  • Low Power Operation
  • Low power sleep mode
  • Setting MCU oscillator frequency
  • Supply voltage measurement
  • Reading average supply votage from ADC
  • Printing out ATmega328PB fuse settings and lockbits, in debug mode.

initPins

initLowPowerSleep

goToSleep

initF_CPU

checkBattery

checkLowBattery

readAvgVCC

printFuses

> KontroLIR Home