I'm just starting with arduino and so far with success but i've run into a strange issue I can't resolve.
I was experimenting with the adafruit library and got the ws2812b led strip working on a nano. Next I made a led matrix out of the ws2812b led's and tried to get NEOMATRIX library to work.
The strange part is that in create online I get the error shown below but the exact same program copied to the local arduino IDE works fine.
Reading through the error below I think the create version is using the incorrect library but I cannot figure out why and how to make it use the adafruit library.
Please help
arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/378329601 -hardware arduino-builder/hardware -hardware arduino-builder/packages/cores -tools arduino-builder/tools -tools arduino-builder/packages/tools -built-in-libraries arduino-builder/latest -libraries /tmp/852793002/pinned -libraries /tmp/852793002/custom -fqbn arduino:avr:nano:cpu=atmega328 -verbose=false /tmp/852793002/matrixtest
Multiple libraries were found for "Adafruit_NeoPixel.h"
Used: /home/admin/builder/arduino-builder/latest/pinduino-1.0.0
Not used: /home/admin/builder/arduino-builder/latest/Adafruit NeoPixel-1.0.6
Not used: /home/admin/builder/arduino-builder/latest/Adafruit NeoPixel-1.0.6
Not used: /home/admin/builder/arduino-builder/latest/Adafruit NeoPixel-1.0.6
Not used: /home/admin/builder/arduino-builder/latest/Adafruit NeoPixel-1.0.6
In file included from /tmp/852793002/matrixtest/matrixtest.ino:5:0:
/home/admin/builder/arduino-builder/latest/Adafruit NeoMatrix-1.1.2/Adafruit_NeoMatrix.h:72:5: error: 'neoPixelType' has not been declared
neoPixelType ledType = NEO_GRB + NEO_KHZ800);
^
/home/admin/builder/arduino-builder/latest/Adafruit NeoMatrix-1.1.2/Adafruit_NeoMatrix.h:79:5: error: 'neoPixelType' has not been declared
neoPixelType ledType = NEO_GRB + NEO_KHZ800);
^
exit status 1
As I said before , this same sketch does compile and load using the IDE and I did manage to compile and upload another sketch using the same library with arduino create like the one below.
Just now, while working on this sketch this same error pops up again. It was working and the next moment the error as stated above is there again using the incorrect library
Ok the Desktop IDE team will temporary remove the Pinduino library from the Library Manager and ask the Pinduino developer to remove the Adafruit_NeoPixel.h from there, that is what is causing the issue with your library. We will let you know when that happens.
Multiple libraries were found for "LiquidCrystal_I2C.h"
Used: /home/admin/builder/opt/libraries/latest/jm_liquidcrystal_i2c-1-0-0
Not used: /tmp/014009562/pinned/liquidcrystal-i2c-1-1-2
Not used: /home/admin/builder/opt/libraries/latest/liquidcrystal-i2c-1-1-2
How can I force it to forget using jm_liquidcrystal_12c-1-0-0, and keep using liquidcrystal-i2c-1-1-2.
My program works when I compile with the local version.
tks.
Hello prangel, usually pinning a certain library should tell the builder to use that specific library. Unfortunately this time it wasn't working, so we just blacklisted the jm_liquidcrystal library, and in the meantime we'll try to find a long term solution
How can I force it to forget using jm_liquidcrystal_12c-1-0-0, and keep using liquidcrystal-i2c-1-1-2.
I have even downloaded liquidcrystal-i2c-1-1-2 and put this in a custom library in the hope it would load it in preference (as per the documentation), but still the jm_liquidcrystal_12c-1-0-0 library loads.
any resolution to this issue. I am getting the same error and don't want to use - jm_liquidcrystal_12c. However the compiler is complaining about it...