Archiving built core (caching) in: C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_cache_308748\core\core_arduino_avr_mega_cpu_atmega1280_5638c217b04eda8279099c4937887265.a
Linking everything together...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega1280 -o "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.elf" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\sketch\Horloge_tft_DS3231.ino.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\SPFD5408_Adafruit_GFX\glcdfont.c.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_GFX.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_TFTLCD.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\Touch-Screen\TouchScreen.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\DS1307new\DS1307new.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\Wire\Wire.cpp.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995\libraries\Wire\utility\twi.c.o" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/core\core.a" "-LC:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995" -lm
C:\Users\Alexis-Anais\Downloads\Horloge_TFT DS3231\Horloge_tft_DS3231\Horloge_tft_DS3231.ino: In function 'setup':
C:\Program Files\Arduino\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_TFTLCD.cpp:813:5: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
writeRegister8(ILI9341_MADCTL, t ); // MADCTL
^
C:\Program Files\Arduino\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_TFTLCD.cpp:797:14: note: 't' was declared here
uint16_t t;
^
C:\Program Files\Arduino\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_TFTLCD.cpp:790:4: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
writeRegister8(ILI9341_MADCTL, t ); // MADCTL
^
C:\Program Files\Arduino\libraries\SPFD5408_Adafruit_GFX\SPFD5408_Adafruit_TFTLCD.cpp:774:13: note: 't' was declared here
uint16_t t;
^
"C:\Program Files\Arduino\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\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.elf" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.eep"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.elf" "C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.hex"
Plusieurs bibliothèque trouvées pour "Wire.h"
Utilisé : C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire
Non utilisé : C:\Program Files\Arduino\libraries\Wire
Utilisation de la bibliothèque SPFD5408_Adafruit_GFX prise dans le dossier : C:\Program Files\Arduino\libraries\SPFD5408_Adafruit_GFX (legacy)
Utilisation de la bibliothèque Touch-Screen prise dans le dossier : C:\Program Files\Arduino\libraries\Touch-Screen (legacy)
Utilisation de la bibliothèque DS1307new prise dans le dossier : C:\Program Files\Arduino\libraries\DS1307new (legacy)
Utilisation de la bibliothèque Wire version 1.0 dans le dossier: C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire
Le croquis utilise 36432 octets (28%) de l'espace de stockage de programmes. Le maximum est de 126976 octets.
Les variables globales utilisent 889 octets (10%) de mémoire dynamique, ce qui laisse 7303 octets pour les variables locales. Le maximum est de 8192 octets.
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega1280 -carduino -PCOM5 -b57600 -D -Uflash:w:C:\Users\ALEXIS~1\AppData\Local\Temp\arduino_build_6995/Horloge_tft_DS3231.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7b
avrdude done. Thank you.
Problème de téléversement vers la carte. Voir http://www.arduino.cc/en/Guide/Troubleshooting#upload pour suggestions.
C'est un warning, pas une erreur de compilation, ça n'empêche pas le programme de se charger et de s'exécuter.
Le compilateur te dit ce qui ne va pas : comparison between signed and unsigned integer expressionsLa condition de ton if compare des int et des unsigned int, ce qui risque de provoquer des erreurs lors de l'évaluation de la condition.
Pour ne plus avoir cet avertissement, choisis un type de variable commun à celles de ta condition : sit int soit unsigned int. Si tu veux en savoir plus sur les types : ici et ici
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
message erreur :
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
Problème de téléversement vers la carte. Voir http://www.arduino.cc/en/Guide/Troubleshooting#upload pour suggestions.
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x93
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x93
Problème de téléversement vers la carte. Voir http://www.arduino.cc/en/Guide/Troubleshooting#upload pour suggestions.
avrdude done. Thank you.