Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
compile error
Iain Fraser
Good morning,
Tried my first compile and got unexpected error, " E:\arduino-1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:85:4: error: #error "Unsupported ARM MCU!" ?? #error "Unsupported ARM MCU!" ??? ^ E:\arduino-1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT\UTFT.cpp: In member function 'void UTFT::printNumF(double, byte, int, int, char, int, char)':" Have I missed a define statement that needs to be changed or do I have corrupt UTFT lib? Any help would be greatly appreciated. 73 Iain VK5ZIF |
Iain Fraser
¿ªÔÆÌåÓýThank you Dave, thought it would be something like that.
Iain On 26/01/2019 12:36 pm, David Berkompas
wrote:
Did you download the TFT? |
Did you use the UTFT that comes with the Teensyduino install, or did you download it from a download site. The earliest version of the library installation used this segment to show the #include files: #include <OpenAudio_ArduinoLibrary.h> //https:/github.com/chipaudette/OpenAudio_ArduinoLibrary #include <Adafruit_GFX.h>???? // https://github.com/adafruit/Adafruit-GFX-Library #include <Audio.h>??????????? // https://github.com/PaulStoffregen/Audio #include <RA8875.h>?????????? // Download fron hamradiodesigns.com #include <Rotary.h>?????????? // https://github.com/brianlow/Rotary #include <SerialFlash.h>????? // https://github.com/PaulStoffregen/SerialFlash #include <Time.h>???????????? // https://github.com/PaulStoffregen/Time #include <TimeLib.h>????????? // Part of the Stoffregen lib, gives backward compatibiliity #include <TimerOne.h>???????? // Distributed with Teensy #include <UTFT.h>???????????? // http://www.rinkydinkelectronics.com/library.php?id=51 #include <URTouch.h>????????? // http://www.rinkydinkelectronics.com/library.php?id=92 #include <UTFT_Buttons.h>???? // http://www.rinkydinkelectronics.com/library.php?id=61 However, since that document was written, PJRC has changed the libraries that it distributes with the Teensyduino. Compare the list above with the most current list: #include <OpenAudio_ArduinoLibrary.h> // http://hamradiodesigns.com/index.php/content/ #include <Adafruit_GFX.h>???? // Now supplied with Teensy Library install #include <Audio.h>??????????? // Now supplied with Teensy Library install #include <RA8875.h>?????????? // http://hamradiodesigns.com/index.php/content/ #include <Rotary.h>?????????? // https://github.com/brianlow/Rotary #include <SerialFlash.h>????? // Now supplied with Teensy Library install #include <Time.h>???????????? // Now supplied with Teensy Library install #include <TimeLib.h>????????? // Now supplied with Teensy Library install #include <TimerOne.h>???????? // Now supplied with Teensy Library install #include <UTFT.h>???????????? // Now supplied with Teensy Library install #include <URTouch.h>????????? // http://www.rinkydinkelectronics.com/library.php?id=92 #include <UTFT_Buttons.h>???? // http://www.rinkydinkelectronics.com/library.php?id=61 Notice how many are now supplied with the Teensyduino, which means you do NOT (should not) use the old install list. See if this fixes your problem. Jack, W8TEE
On Friday, January 25, 2019, 7:50:08 PM EST, Iain Fraser <ifra54382@...> wrote:
Good morning, Tried my first compile and got unexpected error, " E:\arduino-1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:85:4: error: #error "Unsupported ARM MCU!" ?? #error "Unsupported ARM MCU!" ??? ^ E:\arduino-1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT\UTFT.cpp: In member function 'void UTFT::printNumF(double, byte, int, int, char, int, char)':" Have I missed a define statement that needs to be changed or do I have corrupt UTFT lib? Any help would be greatly appreciated. 73 Iain VK5ZIF |
Iain Fraser
I down loaded file in jack's document, have now re-installed Trendy file and compiles with out error!
Get
|
to navigate to use esc to dismiss