Invalid library found in C:\Users\mdars\OneDrive - Anglo-Chinese School (Independent)\Documents\Arduino\libraries\BareMinimum: no headers files (.h) found in C:\Users\mdars\OneDrive - Anglo-Chinese School (Independent)\Documents\Arduino\libraries\BareMinimum
you shouldn't use a onedrive drive you should use a local non-onedrive-drive
AVR Part : ATmega2560
Your arduino-IDE seems to be adjusted for arduino Mega 2560
your pcitures show a Arduino Uno which is a diffent board and must be chosen as the board
But I'm not really sure I can't see it from your picture.
All in all the lines you have posted as a whole don't make sense to me
please do the following
- close the arduino-IDE
-reopen the Arduino-IDE
load one single sketch
click compile and upload
and if the compiling/uploading-process aborts
immidiately
click copy error-messages
then post this logfile as a code-section
A successful upload to Arduino Mega 2560 looks like this
E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\arduino-builder -dump-prefs -logger=machine -hardware E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware -hardware C:\Users\dipl-\AppData\Local\Arduino15\packages -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\tools-builder -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware\tools\avr -tools C:\Users\dipl-\AppData\Local\Arduino15\packages -built-in-libraries E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\libraries -libraries F:\myData\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484 -warnings=all -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_552399 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose F:\myData\Arduino\Test-Upload-to-Ardiuno-Mega-002\Test-Upload-to-Ardiuno-Mega-002.ino
E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware -hardware C:\Users\dipl-\AppData\Local\Arduino15\packages -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\tools-builder -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware\tools\avr -tools C:\Users\dipl-\AppData\Local\Arduino15\packages -built-in-libraries E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\libraries -libraries F:\myData\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484 -warnings=all -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_552399 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose F:\myData\Arduino\Test-Upload-to-Ardiuno-Mega-002\Test-Upload-to-Ardiuno-Mega-002.ino
Using board 'mega' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp" -o nul
Alternatives for uRTCLib.h: [uRTCLib@6.6.0]
ResolveLibrary(uRTCLib.h)
-> candidates: [uRTCLib@6.6.0]
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp" -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp" -o nul
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "F:\\myData\\Arduino\\libraries\\uRTCLib\\src\\uRTCLib.cpp" -o nul
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src\\Wire.cpp" -o nul
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src\\utility\\twi.c" -o nul
Generating function prototypes...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"E:\\Arduino-funktioniert\\arduino-1.8.19-windows-2022-01-30\\arduino-1.8.19\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp.o"
Compiling libraries...
Compiling library "uRTCLib"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "F:\\myData\\Arduino\\libraries\\uRTCLib\\src\\uRTCLib.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\uRTCLib\\uRTCLib.cpp.o"
Compiling library "Wire"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src\\Wire.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\Wire\\Wire.cpp.o"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega" "-IF:\\myData\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src\\utility\\twi.c" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\Wire\\utility\\twi.c.o"
Compiling core...
Using precompiled core: C:\Users\dipl-\AppData\Local\Temp\arduino_cache_552399\core\core_arduino_avr_mega_cpu_atmega2560_cbf59aea3d48275ca0a46a930fe90002.a
Linking everything together...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega2560 -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\sketch\\Test-Upload-to-Ardiuno-Mega-002.ino.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\uRTCLib\\uRTCLib.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484\\libraries\\Wire\\utility\\twi.c.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/..\\arduino_cache_552399\\core\\core_arduino_avr_mega_cpu_atmega2560_cbf59aea3d48275ca0a46a930fe90002.a" "-LC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484" -lm
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.eep"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex"
Bibliothek uRTCLib in Version 6.6.0 im Ordner: F:\myData\Arduino\libraries\uRTCLib wird verwendet
Bibliothek Wire in Version 1.0 im Ordner: C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire wird verwendet
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.elf"
Der Sketch verwendet 7060 Bytes (2%) des Programmspeicherplatzes. Das Maximum sind 253952 Bytes.
Globale Variablen verwenden 593 Bytes (7%) des dynamischen Speichers, 7599 Bytes für lokale Variablen verbleiben. Das Maximum sind 8192 Bytes.
C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM20 -b115200 -D -Uflash:w:C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\dipl-\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM20
Using Programmer : wiring
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Wiring
Description : Wiring
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex"
avrdude: writing flash (7060 bytes):
Writing | ################################################## | 100% 1.08s
avrdude: 7060 bytes of flash written
avrdude: verifying flash memory against C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex:
avrdude: load data flash data from input file C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex:
avrdude: input file C:\Users\dipl-\AppData\Local\Temp\arduino_build_3484/Test-Upload-to-Ardiuno-Mega-002.ino.hex contains 7060 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.84s
avrdude: verifying ...
avrdude: 7060 bytes of flash verified
avrdude done. Thank you.
Your upload stops in the middle of the reading
.....
avrdude: input file C:\Users\mdars\AppData\Local\Temp\arduino_build_184798/idkddk.ino.hex contains 6972 bytes
avrdude: reading on-chip flash data:
Reading | #################
I supsect a bad USB-cable or insufficient power-supply.
You are using 100 Ohm resistors as base-resistors
This is a pretty low value
5V / 100 Ohm = 0,05A = 50 mA
An IO-pin can draw a maximum of 40 mA. And you should stay below 20 mA if ever possible.
A base-current of 10 mA should be plenty enough to drive your LEDs
Though this must be checked inside the datasheet
10mA means: 5V = 0,010A = 500 Ohm.