Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: any working Low Power library for Teensy 3.2 and Teensy LC?

  1. #1
    Junior Member
    Join Date
    Jul 2016
    Posts
    17

    any working Low Power library for Teensy 3.2 and Teensy LC?

    hi, I was trying to use low power library provided with teensyduino,
    but can't compiled those two codes provided there,
    any of them not working
    and I've got that error

    Code:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware -hardware /Users/user/Library/Arduino15/packages -hardware /Users/user/Documents/Arduino/hardware -tools /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/tools-builder -tools /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/tools/avr -tools /Users/user/Library/Arduino15/packages -built-in-libraries /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96opt,keys=en-us -ide-version=10612 -build-path /var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229 -warnings=none -verbose /var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_modified_sketch_175557/powerDownWakePeriodic.pde
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware -hardware /Users/user/Library/Arduino15/packages -hardware /Users/user/Documents/Arduino/hardware -tools /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/tools-builder -tools /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/tools/avr -tools /Users/user/Library/Arduino15/packages -built-in-libraries /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96opt,keys=en-us -ide-version=10612 -build-path /var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229 -warnings=none -verbose /var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_modified_sketch_175557/powerDownWakePeriodic.pde
    Using board 'teensy31' from platform in folder: /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr
    Using core 'teensy3' from platform in folder: /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr
    Warning: Board attiny13:avr:attiny13a doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13A
    Warning: Board attiny13:avr:attiny13f doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13F
    Warning: Board attiny13:avr:attiny13c doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13C
    Warning: Board attiny13:avr:attiny13d doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13D
    Warning: Board attiny13:avr:attiny13e doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13E
    Opcje projektu zmienione, przeładuj całość
    Detecting libraries used...
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/sketch/powerDownWakePeriodic.pde.cpp" -o "/dev/null"
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower" "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/sketch/powerDownWakePeriodic.pde.cpp" -o "/dev/null"
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower" "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp" -o "/dev/null"
    Generating function prototypes...
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower" "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/sketch/powerDownWakePeriodic.pde.cpp" -o "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/preproc/ctags_target_for_gcc_minus_e.cpp"
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/preproc/ctags_target_for_gcc_minus_e.cpp"
    Kompilowanie szkicu...
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower" "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/sketch/powerDownWakePeriodic.pde.cpp" -o "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/sketch/powerDownWakePeriodic.pde.cpp.o"
    Compiling libraries...
    Compiling library "LowPower"
    "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=130 -DARDUINO=10612 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3" "-I/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower" "/private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp" -o "/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/arduino_build_113229/libraries/LowPower/LowPower.cpp.o"
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::idle(period_t, adc_t, timer2_t, timer1_t, timer0_t, spi_t, usart0_t, twi_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:129:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:129:16: error: 'CS22' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:130:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:130:16: error: 'CS21' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:131:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:131:16: error: 'CS20' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:134:3: error: 'TCCR2B' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:134:20: error: 'CS22' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:135:20: error: 'CS21' was not declared in this scope
       TCCR2B &= ~(1 << CS21);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:136:20: error: 'CS20' was not declared in this scope
       TCCR2B &= ~(1 << CS20);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:138:24: error: 'power_timer2_disable' was not declared in this scope
       power_timer2_disable();
                            ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:143:3: error: 'ADCSRA' was not declared in this scope
       ADCSRA &= ~(1 << ADEN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:143:20: error: 'ADEN' was not declared in this scope
       ADCSRA &= ~(1 << ADEN);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:144:21: error: 'power_adc_disable' was not declared in this scope
       power_adc_disable();
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:147:49: error: 'power_timer1_disable' was not declared in this scope
      if (timer1 == TIMER1_OFF) power_timer1_disable(); 
                                                     ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:148:49: error: 'power_timer0_disable' was not declared in this scope
      if (timer0 == TIMER0_OFF) power_timer0_disable(); 
                                                     ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:149:42: error: 'power_spi_disable' was not declared in this scope
      if (spi == SPI_OFF)   power_spi_disable();
                                              ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:150:49: error: 'power_usart0_disable' was not declared in this scope
      if (usart0 == USART0_OFF) power_usart0_disable();
                                                     ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:151:42: error: 'power_twi_disable' was not declared in this scope
      if (twi == TWI_OFF)   power_twi_disable();
                                              ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:156:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:156:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:159:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_IDLE);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:159:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_IDLE);
      ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:159:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_IDLE);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:159:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_IDLE);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:163:20: error: 'power_adc_enable' was not declared in this scope
       power_adc_enable();
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:164:3: error: 'ADCSRA' was not declared in this scope
       ADCSRA |= (1 << ADEN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:164:19: error: 'ADEN' was not declared in this scope
       ADCSRA |= (1 << ADEN);
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:169:21: error: 'CS22' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:169:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:170:21: error: 'CS21' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:170:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:171:21: error: 'CS20' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:171:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:173:23: error: 'power_timer2_enable' was not declared in this scope
       power_timer2_enable();
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:176:48: error: 'power_timer1_enable' was not declared in this scope
      if (timer1 == TIMER1_OFF) power_timer1_enable(); 
                                                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:177:48: error: 'power_timer0_enable' was not declared in this scope
      if (timer0 == TIMER0_OFF) power_timer0_enable(); 
                                                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:178:41: error: 'power_spi_enable' was not declared in this scope
      if (spi == SPI_OFF)   power_spi_enable();
                                             ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:179:48: error: 'power_usart0_enable' was not declared in this scope
      if (usart0 == USART0_OFF) power_usart0_enable();
                                                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:180:41: error: 'power_twi_enable' was not declared in this scope
      if (twi == TWI_OFF)   power_twi_enable();
                                             ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::adcNoiseReduction(period_t, adc_t, timer2_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:223:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:223:16: error: 'CS22' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:224:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:224:16: error: 'CS21' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:225:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:225:16: error: 'CS20' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:228:3: error: 'TCCR2B' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:228:20: error: 'CS22' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:229:20: error: 'CS21' was not declared in this scope
       TCCR2B &= ~(1 << CS21);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:230:20: error: 'CS20' was not declared in this scope
       TCCR2B &= ~(1 << CS20);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:233:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:233:39: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:238:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:238:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:241:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_ADC);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:241:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_ADC);
      ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:241:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_ADC);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:241:2: note: in expansion of macro 'lowPowerBodOn'
      lowPowerBodOn(SLEEP_MODE_ADC);
      ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:243:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:243:38: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:247:21: error: 'CS22' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:247:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:248:21: error: 'CS21' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:248:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:249:21: error: 'CS20' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:249:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::powerDown(period_t, adc_t, bod_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:289:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:289:39: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:294:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:294:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:61:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:298:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:64:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:298:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_DOWN);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:298:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:298:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:302:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:302:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_DOWN);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:302:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:302:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_DOWN);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:305:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:305:38: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::powerSave(period_t, adc_t, bod_t, timer2_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:359:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:359:16: error: 'CS22' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:360:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:360:16: error: 'CS21' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:361:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:361:16: error: 'CS20' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:364:3: error: 'TCCR2B' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:364:20: error: 'CS22' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:365:20: error: 'CS21' was not declared in this scope
       TCCR2B &= ~(1 << CS21);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:366:20: error: 'CS20' was not declared in this scope
       TCCR2B &= ~(1 << CS20);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:369:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:369:39: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:374:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:374:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:61:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:379:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:64:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:379:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_SAVE);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:379:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:379:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:383:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:383:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_SAVE);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:383:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:383:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_PWR_SAVE);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:386:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:386:38: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:390:21: error: 'CS22' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:390:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:391:21: error: 'CS21' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:391:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS21) TCCR2B |= (1 << CS21);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:392:21: error: 'CS20' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                         ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:392:27: error: 'TCCR2B' was not declared in this scope
       if (clockSource & CS20) TCCR2B |= (1 << CS20);
                               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::powerStandby(period_t, adc_t, bod_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:429:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:429:39: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:434:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:434:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:61:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:439:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:64:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:439:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_STANDBY);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:439:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:439:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:443:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:443:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_STANDBY);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:443:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:443:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:446:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:446:38: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp: In member function 'void LowPowerClass::powerExtStandby(period_t, adc_t, bod_t, timer2_t)':
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:493:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:493:16: error: 'CS22' was not declared in this scope
       if (TCCR2B & CS22) clockSource |= (1 << CS22);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:494:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:494:16: error: 'CS21' was not declared in this scope
       if (TCCR2B & CS21) clockSource |= (1 << CS21);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:495:7: error: 'TCCR2B' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:495:16: error: 'CS20' was not declared in this scope
       if (TCCR2B & CS20) clockSource |= (1 << CS20);
                    ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:498:3: error: 'TCCR2B' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:498:20: error: 'CS22' was not declared in this scope
       TCCR2B &= ~(1 << CS22);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:499:20: error: 'CS21' was not declared in this scope
       TCCR2B &= ~(1 << CS21);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:500:20: error: 'CS20' was not declared in this scope
       TCCR2B &= ~(1 << CS20);
                        ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:503:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:503:39: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA &= ~(1 << ADEN);
                                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:508:3: error: 'WDTCSR' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:508:19: error: 'WDIE' was not declared in this scope
       WDTCSR |= (1 << WDIE); 
                       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:61:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:512:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:64:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:512:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_EXT_STANDBY);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:512:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:65:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:512:3: note: in expansion of macro 'lowPowerBodOff'
       lowPowerBodOff(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:50:11: error: 'cli' was not declared in this scope
           cli();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:516:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:52:11: error: 'sei' was not declared in this scope
           sei();    \
               ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:516:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_EXT_STANDBY);
       ^
    In file included from /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:25:0:
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected primary-expression before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:516:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/sleep.h:36:23: error: expected ')' before 'asm'
     #define sleep_cpu()  (asm("wfi"))
                           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:53:7: note: in expansion of macro 'sleep_cpu'
           sleep_cpu();   \
           ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:516:3: note: in expansion of macro 'lowPowerBodOn'
       lowPowerBodOn(SLEEP_MODE_EXT_STANDBY);
       ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:519:22: error: 'ADCSRA' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:519:38: error: 'ADEN' was not declared in this scope
      if (adc == ADC_OFF) ADCSRA |= (1 << ADEN);
                                          ^
    /private/var/folders/jy/_vc7bjp55d97blzctfqcf32c0000gn/T/AppTranslocation/015AA258-7B38-4603-A28B-865110B43A8C/d/Arduino-1.6.12.app/Contents/Java/hardware/teensy/avr/libraries/LowPower/LowPower.cpp:523:21: error: 'CS22' was not declared in this scope
       if (clockSource & CS22) TCCR2B |= (1 << CS22);
                         ^
         ^
    I need some solution for periodic wakeUp
    Last edited by bigplik; 11-16-2016 at 08:43 PM.

  2. #2
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    1,019
    Take look at Snooze.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •