atmega328p arduino spi problems tft display quotation

Is there a difference between the NANO and MEGA that would account for ST7735 displays working on NANO and not working on MEGA? I"m using the same pins on both....

It"s a little bit embarrassing, the Microprocessor (ATMega328P) was fault. I had 4 unprogrammed AVR"s in my box and burned the Bootloader to one and used this new Processor to test it. And now it works just fine.

So I have an arduino uno that works great with hope rf95, I tried to take the atmega328p-pu off the arduino and connect it unto a breadboard, I connected a 16mhz crystal+2X22pf capacitors and the mcu works great, however, it wont "speak" with the rf95.

I am merely trying to compile your code that was posted on your github feed but it refuses to compile with lots of errors starting with Setpinmodes( ) being undeclared in this contex. The only modifications to your code that I made were to remove the <> and insert quotes to make it look for the header files in the current directory and not in the program Libraries directory but I had a hard time finding a SPI library and copied the only one I found into the current directory.
"C:\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Albert.cpp" -o "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Albert.cpp.o"
"C:\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Spotwelderv6_1.ino.cpp" -o "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Spotwelderv6_1.ino.cpp.o"
"C:\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\SPI.cpp" -o "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\SPI.cpp.o"
"C:\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\EEPROMex.cpp" -o "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\EEPROMex.cpp.o"
"C:\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Switch.cpp" -o "C:\\Users\\LIVING~1\\AppData\\Local\\Temp\\arduino_build_243493\\sketch\\Switch.cpp.o"
The above code is the error log. It leads me to believe that I either have the wrong SPI.h or the later versions of the IDE do not like something in the INO.

The SERCOM on the Zero is limited to 12MHz for SPI. SPI is 8MHz on a Uno. Although the SPI on an AVR is fairly primitive, the Arduino Uno core optimises fairly well.
The LCDWIKI"s basic demo file that doesn"t use any libraries works, but all other files fail to compile for a zero. They compile fine for a UNO, but for a zero, the LCDWIKI_SPI file throws so many errors...
I have not tried LCDWIKI on a Zero. I suspect that it would use the crap Zero core SPI library. It will probably be slower than Adafruit. And definitely inconvenient to use badly-spelled methods.
One thing I noticed is that in all the examples I looked at, the touchscreen and LCD display use different SPI connections. Why? I thought SPI was to be shared MOSI, MISO, SCK, and each device needs a CS pin.

Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (4.3" diagonal) bright (8 white-LED backlight) and colorfu 480x272 pixels with individual pixel control. As a bonus, this display has a optional resistive touch panel attached on screen by default.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you"ll have it running in under 10 minutes! Works best with any classic Arduino (UNO/Due/Mega 2560).
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!" - we"ve written a full open source graphics library at the bottom of this page that can draw pixels, lines, rectangles, circles and text. We also have a touch screen library that detects x,y and z (pressure) and example code to demonstrate all of it. The code is written for Arduino but can be easily ported to your favorite microcontroller!
If you"ve had a lot of Arduino DUEs go through your hands (or if you are just unlucky), chances are you’ve come across at least one that does not start-up properly.The symptom is simple: you power up the Arduino but it doesn’t appear to “boot”. Your code simply doesn"t start running.You might have noticed that resetting the board (by pressing the reset button) causes the board to start-up normally.The fix is simple,here is the solution.

Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (7" diagonal) bright (14 white-LED backlight) and colorfu 800x480 pixels with individual pixel control. As a bonus, this display has a optional capacitive and resistive touch panel attached on screen by default.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you"ll have it running in under 10 minutes! Works best with any classic Arduino (UNO/Due/Mega 2560).
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!" - we"ve written a full open source graphics library at the bottom of this page that can draw pixels, lines, rectangles, circles and text. We also have a touch screen library that detects x,y and z (pressure) and example code to demonstrate all of it. The code is written for Arduino but can be easily ported to your favorite microcontroller!
For 7 inch screen,the high current is needed.But the current of arduino uno or arduino mega board is low, an external 5V power supply is needed. Refer to the image shows the external power supply position on shield ER-AS-RA8875.
If you"ve had a lot of Arduino DUEs go through your hands (or if you are just unlucky), chances are you’ve come across at least one that does not start-up properly.The symptom is simple: you power up the Arduino but it doesn’t appear to “boot”. Your code simply doesn"t start running.You might have noticed that resetting the board (by pressing the reset button) causes the board to start-up normally.The fix is simple,here is the solution.

I2C and SPI ports, as well as additional IO lines from the ESP8266-12E, are available, but things could get messy if we added breakout modules with wires to these ports. It will however still stay limited to the amount of IO ports available on the single ESP8266 chip...
At the same time, while playing around with the APE ( Arduino Port Extender ) protocol that is available for ESPHome, we thought that, since it would be quite easy to modify the existing sketch, and rewrite the C header file that defines the APE custom component, It would actually be a great idea to put an ATMEGA328P onto the add-on card. That way, It would be possible to add quite a lot of additional IO Lines, with some Analogs Inputs as well. It still does not take care of the Relay outputs, but that shall be addressed later...
Another point to consider was the fact that the ATMEGA328P would be running from 5v ( I wanted it to operate at 16Mhz, where it seems that only 8Mhz is possible when running at 3.3v? ). The ESP runs at 3.3v however, so all signals exchanged between the two microcontrollers will need to pass through a level converter.
I decided to add an onboard level converter, and while I was at that, gave it 8 channels so that I could use more than one serial protocol if needed ( SPI as well as I2C ). I also decided that since I was designing anyway, I would address some of the issues that I have with the existing Arduino Nano board, adding a dedicated 3.3v LDO Voltage Regulator, additional power outputs, and a jumper to select the source for the 3.3v input --- In other words, I might have totally overengineered the board :) a common problem in my life :)
I also wanted to experiment with uploading ATMEGA chips through the ISCP interface, something that I have not done in quite a while, since I moved away from PIC microcontrollers, and started using Arduino and ESP32/ESP8266 type chips...
LED indicators for the status of both 5v and 3.3v power lines were also added. The AREF line was not broken out to a header, as I very seldom use that anyway. Apart from that, the GPIO breakout to the headers follows the standard Arduino Nano layout.
USB Serial was not initially part of my plan, but after some thinking on the matter, I decided that it would actually be a good idea to add it. This would enable me to use this PCB as a standalone "Arduino compatible" device as well...
The Logic Level converters perform quite well too. Below is a short video of a test using an ST7789 TFT Display ( SPI ), and an SSD1306 OLED Display ( I2C ) using libraries from Adafruit. The code was uploaded via ISCP using the Cytron Maker Uno and the Arduino IDE ( using Arduino as ISP )

D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\libraries\SPI -ID:\Arduino\arduino-1.6.3\libraries\TFT_ILI9163C C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\icon_simple.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\icon_simple.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\libraries\SPI -ID:\Arduino\arduino-1.6.3\libraries\TFT_ILI9163C -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\libraries\SPI\utility D:\Arduino\arduino-1.6.3\hardware\arduino\avr\libraries\SPI\SPI.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\SPI\SPI.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\libraries\SPI -ID:\Arduino\arduino-1.6.3\libraries\TFT_ILI9163C -ID:\Arduino\arduino-1.6.3\libraries\TFT_ILI9163C\utility D:\Arduino\arduino-1.6.3\libraries\TFT_ILI9163C\TFT_ILI9163C.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\TFT_ILI9163C\TFT_ILI9163C.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\hooks.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\hooks.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\WInterrup ts.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WInterrupts.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\wiring.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\wiring_an alog.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_analog.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\wiring_di gital.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_digital.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\wiring_pu lse.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_pulse.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\wiring_sh ift.c -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_shift.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\abi.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\abi.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\CDC.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\CDC.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HardwareS erial.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HardwareS erial0.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial0.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HardwareS erial1.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial1.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HardwareS erial2.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial2.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HardwareS erial3.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial3.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\HID.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HID.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\IPAddress .cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\IPAddress.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\main.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\main.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\new.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\new.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\Print.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Print.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\Stream.cp p -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Stream.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\Tone.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Tone.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\USBCore.c pp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\USBCore.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\WMath.cpp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WMath.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_ATMEGA328O -DARDUINO_ARCH_AVR -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino -ID:\Arduino\arduino-1.6.3\hardware\arduino\avr\variants\standard D:\Arduino\arduino-1.6.3\hardware\arduino\avr\cores\arduino\WString.c pp -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WString.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\hooks.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WInterrupts.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_analog.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_digital.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_pulse.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\wiring_shift.c.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\abi.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\CDC.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial0.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial1.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial2.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HardwareSerial3.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\HID.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\IPAddress.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\main.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\new.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Print.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Stream.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\Tone.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\USBCore.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WMath.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-ar rcs C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\WString.cpp.o
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/icon_simple.cpp.elf C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\icon_simple.cpp.o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\SPI\SPI.cpp.o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp\TFT_ILI9163C\TFT_ILI9163C.cpp.o C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/core.a -LC:\Users\CRISTIAN\AppData\Local\Temp\build1398581 243779015877.tmp -lm
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/icon_simple.cpp.elf C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/icon_simple.cpp.eep
D:\Arduino\arduino-1.6.3\hardware\tools\avr/bin/avr-objcopy -O ihex -R .eeprom C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/icon_simple.cpp.elf C:\Users\CRISTIAN\AppData\Local\Temp\build13985812 43779015877.tmp/icon_simple.cpp.hex

I"m using an ILI9341-based LCD module, and the 4-wire SPI interface to communicate with it. According to the datasheet"s spec for this interface, I should be able to write at up to 1s/100ns(twc)=10Mhz, and read at up to 1s/150ns(trc)=6.66Mhz.
In the past I"ve tried communicating with other complex SPI devices at speeds past their ratings, just to see what would happen. All started showing issues with modest increases, even when run at max Vdd. Yet I"m reading from this at 360% of its max rated speed! And I know of cases of others doing the same with their ILI9341-based LCD, as well.

Start > Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings > Exclusions > Add or remove exclusions > (Windows security YES) > Add an exclusion: C:\Program Files (x86)\Arduino\arduino.exe.
If an Arduino library or a sketch of mine doesn"t work, it"s usually because of missing libraries. For instance when the library "Timer1" is missing, we receive the compiler message: ""Timer1" was not declared in this scope", than you have to install this library too. I use many libraries, those of others and of myself. I have collected all those libraries in a zip file that you can download HERE. Sometimes I forget to update the zip file so it can happen that something is missing:
Some years ago, I used an Arduino Nano board. Now I wanted to use this board again. But suddenly, error messages occur when uploading a sketch. That is strange, it has always worked before! The same happens with an Arduino Pro-Mini board.
A very difficult problem is a bootloader that is not supported. I experienced this with boards with an ATmega328 that I had let fabricate in China. I could not upload sketches to these boards with the Arduino version 1.8.9. After I had burned a new boot loader with this Arduino version into the ATmega328, uploading worked again. Unfortunately, it is not always possible to program a new boot loader if there is no SPI connector.
It often happens that uploading doesn"t work well. The upload application is not very stable, sometimes it helps to close the program and connect the USB cable again, or close Windows and start again. This drives me crazy sometimes. To find the cause, test an Arduino board that has always worked well.
My Arduino applications and libraries are tested with the Arduino software version used at the time of development. After installation of a new Arduino software version, problems may arise with existing projects. I don"t have time to regularly test all my software on newer Arduino versions, so let me know if problems occur.
To solve a problem, read this page, and first check if the Arduino works well with some simple sample projects. Normally, by building up the application step by step, you will find out what the problem is.
Some Arduino applications only work on 3.3V. If the 3.3V Arduino board itself does not have a USB interface, it can be programmed and tested with an FTDI breakout board that must be switchable between 5V and 3.3V.
When deleting a library, it is not enough to delete only the files inside the library folder, you have to delete the library folder itself too. Else, it may happen that after you add new library files, the library won’t work properly. Arduino may still use cached object files from a previous build.
Sometimes the Arduino software doesn"t work anymore, at least on Windows XP; the preference.txt file may be corrupt. Put the old preference.txt file back and try again. If this doesn"t work, the computer has to be start up again. For Windows XP c:\Documents and Settings\\Application Data\Arduino\preferences.txt.
A big issue, but unknown to most people, is that the Arduino IDE has bugs related to programs bigger than about 62kb. When the program gets to be big enough so that the hex file exceeds 64k then you can get programs that download but doesn"t work. This is particularly common if you use programming hardware to download the program. If you use a programmer or ICE to download the program the image includes the bootloader and if the program plus bootloader exceeds 64k the image for downloading is broken. This is a bug and the daily builds include a fix but none of the stable releases includes the fix.
I had bought a FTDI module which caused problems. The first-time upload always works fine, but with a too low speed. After this, problems occur, uploading sometimes works well, sometimes not:
I recently purchased from different suppliers in China the ATmega328P-PU with UNO boot loader; however, none had the bootloader programmed. You can check this; the LED has to blink several times after power up, else there is no bootloader. So I had to figure out how to program the boot loader myself. I use this ISP programmer.
Arduino boards have all different serial baud rates, from 9600 to 115200, these are set in the file C:\Program Files\Arduino\hardware\arduino\boards.txt.
But too often, the speed isn"t correct if your Arduino board is outdated, than you must edit the boards.txt file. Since the baud rate is set in the bootloader, swapping an ATmega chip can also lead to speed problems if the bootloader is outdated.
One c++ code file name (.ino) must be equal to the project folder name. A copy of a project shall not run anymore because the project map name is changed to "Copy of ...". To avoid this, place the project map into another map, this can further be copied without problems.
Older Atmega boards, before 2010, may have a slower baudrate of 19200 instead of 57600 baud for recent boards. During uploading an error may occur like: avrdude: stk500_getsync(): not in sync: resp=0x00. To fix upload problems, edit the file hardware\arduino\boards.txt:Change atmega328.upload.speed=57600 to atmega328.upload.speed=19200
The Arduino uses for a c++ code file the extension .ino, instead of .cpp. The extension .cpp may be used too, but at least one file must have the extension .ino.
Streaming is such an important c++ feature that it should be integrated standardly in the Arduino environment. However, this is not the case; download the latest streaming library from Mikal Hart here.
C++ compilers may sometimes determine itself, which functions become inline and which not. In the past, member functions were made implicit inline by the Arduino compiler, but I have experienced that this is not the case anymore. So, to be sure, add inline if you need that.

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\Thomas\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10809 -build-path C:\Users\Thomas\AppData\Local\Temp\arduino_build_239535 -warnings=none -build-cache C:\Users\Thomas\AppData\Local\Temp\arduino_cache_222093 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Thomas\Documents\Arduino\CDU_USB_sketch_5_inch\CDU_USB_sketch_5_inch.ino
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\Thomas\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10809 -build-path C:\Users\Thomas\AppData\Local\Temp\arduino_build_239535 -warnings=none -build-cache C:\Users\Thomas\AppData\Local\Temp\arduino_cache_222093 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Thomas\Documents\Arduino\CDU_USB_sketch_5_inch\CDU_USB_sketch_5_inch.ino
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_RA8875" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_RA8875" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_RA8875" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\dcs-bios-arduino-library-master\\src" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_RA8875" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\dcs-bios-arduino-library-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_RA8875" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\Thomas\\Documents\\Arduino\\libraries\\dcs-bios-arduino-library-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp" -o "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp.o"
Using previously compiled file: C:\Users\Thomas\AppData\Local\Temp\arduino_build_239535\libraries\dcs-bios-arduino-library-master\internal\Protocol.cpp.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535/CDU_USB_sketch_5_inch.ino.elf" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\sketch\\CDU_USB_sketch_5_inch.ino.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\Adafruit_RA8875\\Adafruit_RA8875.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\Adafruit_GFX_Library\\glcdfont.c.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535\\libraries\\dcs-bios-arduino-library-master\\internal\\Protocol.cpp.o" "C:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535/..\\arduino_cache_222093\\core\\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\Thomas\\AppData\\Local\\Temp\\arduino_build_239535" -lm
Using library dcs-bios-arduino-library-master at version 0.2.10 in folder: C:\Users\Thomas\Documents\Arduino\libraries\dcs-bios-arduino-library-master

Amateur Radio Single Sideband Transceiver Controller for Arduino and SI5351 Clock generator. Includes Dual VFO, single or double band support for 20 and 40 meter bands, CAT control, optional S-meter, multiple supported displays including options include 20x4 LCD, Color TFT, and 2.8" Nextion Touch Screen
Ms.Josey
Ms.Josey