Hi, do you have tasted a TLC59711 on Arduino DUE ?
I tried to load the example in 1.5.8 IDE and get error.
Thanks.
12 Channel 16 Bit TLC59711 (Arduino DUE)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
1.5.8 is not stable code, have you tried 1.5.7? Could you post clear, detailed pictures of both sides of your board showing any soldering you have done and the connections to it? Also what code are you using to test it?I tried to load the example in 1.5.8 IDE and get error.
- david79
- Posts: 6
- Joined: Sat Oct 25, 2014 7:38 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
The conexsiones are well.
This is the error I get:
--------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp: In member function 'void Adafruit_TLC59711::write()':
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp:82:7: error: 'cli' was not declared in this scope
cli();
^
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp:101:7: error: 'sei' was not declared in this scope
sei();
^
Compilation Error
--------------------------------------------------------------------------------------------------------------------------------------------------------
I 've tried several versions of IDE (1.5.8 and 1.5.7). I tried it with the example of the Adafruit library.
Thanks.
This is the error I get:
--------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp: In member function 'void Adafruit_TLC59711::write()':
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp:82:7: error: 'cli' was not declared in this scope
cli();
^
C:\Program Files (x86)\Arduino\libraries\Adafruit_TLC59711-master\Adafruit_TLC59711.cpp:101:7: error: 'sei' was not declared in this scope
sei();
^
Compilation Error
--------------------------------------------------------------------------------------------------------------------------------------------------------
I 've tried several versions of IDE (1.5.8 and 1.5.7). I tried it with the example of the Adafruit library.
Thanks.
- david79
- Posts: 6
- Joined: Sat Oct 25, 2014 7:38 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
Help please!
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
Check out this tutorial on how to do a library install Adafruit libraries should be in your documents folder not the Arduino folder.
- david79
- Posts: 6
- Joined: Sat Oct 25, 2014 7:38 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
I followed the tutorial for installation of libraries.
In the IDE 1.5.8 and 1.5.7 and throws me the following error.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Arduino: 1.5.7 (Windows 8), Placa:"Arduino Due (Programming Port)"
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp: In constructor 'Adafruit_TLC59711::Adafruit_TLC59711(uint8_t)':
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:38:23: error: 'SPI_CLOCK_DIV8' was not declared in this scope
SPI.setClockDivider(SPI_CLOCK_DIV8);
^
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp: In member function 'void Adafruit_TLC59711::write()':
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:82:7: error: 'cli' was not declared in this scope
cli();
^
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:101:7: error: 'sei' was not declared in this scope
sei();
^
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
--------------------------------------------------------------------------------------------------------------------------------------------------------
In the IDE 1.5.8 and 1.5.7 and throws me the following error.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Arduino: 1.5.7 (Windows 8), Placa:"Arduino Due (Programming Port)"
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp: In constructor 'Adafruit_TLC59711::Adafruit_TLC59711(uint8_t)':
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:38:23: error: 'SPI_CLOCK_DIV8' was not declared in this scope
SPI.setClockDivider(SPI_CLOCK_DIV8);
^
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp: In member function 'void Adafruit_TLC59711::write()':
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:82:7: error: 'cli' was not declared in this scope
cli();
^
C:\Users\David\Documents\Arduino\libraries\Adafruit_TLC59711\Adafruit_TLC59711.cpp:101:7: error: 'sei' was not declared in this scope
sei();
^
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
--------------------------------------------------------------------------------------------------------------------------------------------------------
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
The libraries don't seem to have been ported to the Due yet. The test code compiles correctly for the Uno.
- david79
- Posts: 6
- Joined: Sat Oct 25, 2014 7:38 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
Ok , have you thought about porting to arduino due ?
Thanks.
Thanks.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
I'm sure it is on the list but there is no ETA.
- david79
- Posts: 6
- Joined: Sat Oct 25, 2014 7:38 pm
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
Ok , thank you very much , will watch for updates.
- FranzS
- Posts: 1
- Joined: Sun Sep 03, 2017 10:56 am
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
Hi, I just tried to use the TLC59711 library on the Arduino Due and it still doesn't work. It's been almost 3 years since this thread was opened is there a ported version available now?
If not you should consider adding the compatibility issue to the description of the LED driver. I bought it because it didn't say anything about the library not working with the Due. Thanks for your great website anyways.
If not you should consider adding the compatibility issue to the description of the LED driver. I bought it because it didn't say anything about the library not working with the Due. Thanks for your great website anyways.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: 12 Channel 16 Bit TLC59711 (Arduino DUE)
I just updated the library to v1.0.1. Should show up in Library Manager shortly.
Give it a try!
Give it a try!
Please be positive and constructive with your questions and comments.