KIR Misc Functions.ino: Difference between revisions

From AnalysIR WiKi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:




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 ==
== initPins ==

Revision as of 14: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