Pages: [1]   Go Down
Author Topic: Problem uploading code to the Due with the tlc5940 library  (Read 172 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,
Im relatively new to arduino and have just learnt to build some simple circuits with LEDs, buttons, sensors and stuff.
Today i wanted to get in touch with the use of tlc5940 to control multiple LEDs.
I installed the tlc5940 library from google code and wired everything including some LEDs. Now i wanted to upload some code of the library like "Fades" or "BasicUse" but I keep getting the same error message.

I am using an Arduino Due
this is a copy of my error log:

Arduino: 1.5.6-r2 (Mac OS X), Board: "Arduino Due (Programming Port)"

Using library Tlc5940 in folder: /Users/Bakteria/Documents/Arduino/libraries/Tlc5940 (legacy)

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Due" -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/system/libsam -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/variants/arduino_due_x -I/Users/Bakteria/Documents/Arduino/libraries/Tlc5940 /var/folders/jv/74x97ng53ls43j452tbt8p9h0000gn/T/build1997646750060896510.tmp/Fades.cpp -o /var/folders/jv/74x97ng53ls43j452tbt8p9h0000gn/T/build1997646750060896510.tmp/Fades.cpp.o
In file included from /Users/Bakteria/Documents/Arduino/libraries/Tlc5940/tlc_config.h:65,
                 from /Users/Bakteria/Documents/Arduino/libraries/Tlc5940/Tlc5940.h:26,
                 from Fades.pde:11:
/Users/Bakteria/Documents/Arduino/libraries/Tlc5940/pinouts/chip_includes.h:25: fatal error: avr/io.h: No such file or directory
compilation terminated.


Does anybody know how to solve this error, since im not very familiar with the IDE yet.
Thank you in advance, Bakteria
« Last Edit: September 28, 2014, 12:39:20 pm by Bakteriyeah » Logged

Pages: [1]   Go Up
Jump to: