Teensy 3.2 not compiling I2C example

Issue #66 closed
Anonymous created an issue

Hi

thankyou for this library

I'm using teensy 3.2 and I would like to use the lib

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>



#define BACKLIGHT_PIN     13

LiquidCrystal_I2C lcd(0x38);  // Set the LCD I2C address

//LiquidCrystal_I2C lcd(0x38, BACKLIGHT_PIN, POSITIVE);  // Set the LCD I2C address


// Creat a set of new characters
const uint8_t charBitmap[][8] = {
   { 0xc, 0x12, 0x12, 0xc, 0, 0, 0, 0 },
   { 0x6, 0x9, 0x9, 0x6, 0, 0, 0, 0 },
   { 0x0, 0x6, 0x9, 0x9, 0x6, 0, 0, 0x0 },
   { 0x0, 0xc, 0x12, 0x12, 0xc, 0, 0, 0x0 },
   { 0x0, 0x0, 0xc, 0x12, 0x12, 0xc, 0, 0x0 },
   { 0x0, 0x0, 0x6, 0x9, 0x9, 0x6, 0, 0x0 },
   { 0x0, 0x0, 0x0, 0x6, 0x9, 0x9, 0x6, 0x0 },
   { 0x0, 0x0, 0x0, 0xc, 0x12, 0x12, 0xc, 0x0 }

};

void setup()
{
   int charBitmapSize = (sizeof(charBitmap ) / sizeof (charBitmap[0]));

  // Switch on the backlight
  pinMode ( BACKLIGHT_PIN, OUTPUT );
  digitalWrite ( BACKLIGHT_PIN, HIGH );

  lcd.begin(16,2);               // initialize the lcd 

   for ( int i = 0; i < charBitmapSize; i++ )
   {
      lcd.createChar ( i, (uint8_t *)charBitmap[i] );
   }

  lcd.home ();                   // go home
  lcd.print("Hello, ARDUINO ");  
  lcd.setCursor ( 0, 1 );        // go to the next line
  lcd.print (" FORUM - fm   ");
  delay ( 1000 );
}

void loop()
{
   lcd.home ();
   // Do a little animation by writing to the same location
   for ( int i = 0; i < 2; i++ )
   {
      for ( int j = 0; j < 16; j++ )
      {
         lcd.print (char(random(7)));
      }
      lcd.setCursor ( 0, 1 );
   }
   delay (200);
}

here is the compile output

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\jauria\Documents\Arduino\libraries" -fqbn=teensy:avr:teensy31:usb=serial,speed=96opt,keys=en-us -ide-version=10607 -build-path "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\examples\HelloWorld_i2c\HelloWorld_i2c.pde"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\jauria\Documents\Arduino\libraries" -fqbn=teensy:avr:teensy31:usb=serial,speed=96opt,keys=en-us -ide-version=10607 -build-path "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\examples\HelloWorld_i2c\HelloWorld_i2c.pde"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\Wire.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\utility\twi.c" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\FastIO.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\I2CIO.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LCD.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C_ByVac.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SI2C.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR2W.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR3W.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\SI2CIO.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\sketch\HelloWorld_i2c.pde.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\utility" "C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\Wire.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\Wire\Wire.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../arm/bin/arm-none-eabi-gcc" -c -O -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\utility" "C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire\utility\twi.c" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\Wire\utility\twi.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\FastIO.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\FastIO.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\I2CIO.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\I2CIO.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LCD.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LCD.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal_I2C.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C_ByVac.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal_I2C_ByVac.cpp.o"
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C_ByVac.cpp: In constructor 'LiquidCrystal_I2C_ByVac::LiquidCrystal_I2C_ByVac(uint8_t)':
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_I2C_ByVac.cpp:41:14: warning: statement has no effect [-Wunused-value]
_polarity == NEGATIVE;
^
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SI2C.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal_SI2C.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal_SR.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../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=127 -DARDUINO=10607 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal" "-IC:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\utility" "C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp" -o "C:\Users\jauria\AppData\Local\Temp\build769b473b08be5439084228a20a0224bf.tmp\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp.o"
In file included from C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:35:0:
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.h:157:1: warning: multi-line comment [-Wcomment]
//             |    |      0.1uF            |     \
^
In file included from C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:35:0:
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp: In member function 'uint8_t LiquidCrystal_SR1W::clearSR()':
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:77:24: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
SR1W_ATOMIC_WRITE_LOW(srRegister, srMask);
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.h:293:79: note: in definition of macro 'SR1W_ATOMIC_WRITE_LOW'
#define SR1W_ATOMIC_WRITE_LOW(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg &= ~mask; }
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:86:22: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
fio_bit reg_val = *srRegister;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:95:5: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
*srRegister = bit_high;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:96:5: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
*srRegister = bit_low;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:101:4: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
*srRegister = bit_high;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp: In member function 'uint8_t LiquidCrystal_SR1W::loadSR(uint8_t)':
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:139:24: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
fio_bit reg_val = *srRegister;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:144:6: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
*srRegister = bit_low;
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:145:6: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
*srRegister = bit_high;
^
In file included from C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:35:0:
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:151:26: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
SR1W_ATOMIC_WRITE_LOW(srRegister, srMask);
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.h:293:79: note: in definition of macro 'SR1W_ATOMIC_WRITE_LOW'
#define SR1W_ATOMIC_WRITE_LOW(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg &= ~mask; }
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.cpp:158:27: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}')
SR1W_ATOMIC_WRITE_HIGH(srRegister, srMask);
^
C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal\LiquidCrystal_SR1W.h:294:80: note: in definition of macro 'SR1W_ATOMIC_WRITE_HIGH'
#define SR1W_ATOMIC_WRITE_HIGH(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg |= mask; }
^
Utilizando biblioteca Wire en carpeta: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire (legacy)
Utilizando biblioteca NewliquidCrystal en carpeta: C:\Users\jauria\Documents\Arduino\libraries\NewliquidCrystal (legacy)
exit status 1
Error de compilaciĆ³n

thx!

Comments (6)

  1. Log in to comment