Hi there!
Before I explain my issue I just want to let you know I have no idea what I am doing so if you make a response please make it so that anyone can understand it that way I might have a chance. Anyway, I recently purchased some Arduino board thing off of eBay (probably not a real one but oh well) and I have soldered in what I need to and plugged it into a USB 2.0 and USB 3.0 port on my pc to see if it works. A red light shines when plugged in so I'm guessing it is getting power. This is what I was making (skip to 1:35 to see him talk about Arduino) and I downloaded his files which you can find by searching up arduino handbrake sketch and it is on github, titled AMSTUDIO/ANALOG E-BRAKE (I can't put more than 2 links in sorry). Now, I have no idea if I have:
A: Correctly installed any drivers because he does everything very fast so idk what is going on
Or B: Selected the correct Communication Port for the board
So I think I just needed to download the files from github and put the one called Joystick in the libraries folder in Arduino and then go on arduino and open the other file called ANALOG E-BRAKE because it is a .ino file and then click on tools and select my board type (can someone confirm this because on the ebay thing it says Leonardo Pro so I picked Leonardo (EDIT: I selected micro and leonardo and they both had the same results (he uses micro in the vid)) on the list but I could be wrong) and then select port but the only one is COM1, is this a problem because I saw some people saying there is a slim to none chance of it being that so could someone clarify that and then I click verify and it works and then upload and it takes a while but ends up at 'an error occurred while uploading the sketch' with the error message:
Arduino: 1.8.15 (Windows 10), Board: "Arduino Micro"
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\harry\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:micro -vid-pid=0000_0000 -ide-version=10815 -build-path C:\Users\harry\AppData\Local\Temp\arduino_build_260834 -warnings=none -build-cache C:\Users\harry\AppData\Local\Temp\arduino_cache_565735 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.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-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\harry\Downloads\Analog-E-Brake-master 2\Analog-E-Brake-master\ANALOG_EBRAKE\ANALOG_EBRAKE.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\harry\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:micro -vid-pid=0000_0000 -ide-version=10815 -build-path C:\Users\harry\AppData\Local\Temp\arduino_build_260834 -warnings=none -build-cache C:\Users\harry\AppData\Local\Temp\arduino_cache_565735 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.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-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\harry\Downloads\Analog-E-Brake-master 2\Analog-E-Brake-master\ANALOG_EBRAKE\ANALOG_EBRAKE.ino
Using board 'micro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Micro"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\micro" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp" -o nul
Alternatives for Joystick.h: [Joystick]
ResolveLibrary(Joystick.h)
-> candidates: [Joystick]
"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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Micro"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\micro" "-IC:\Program Files (x86)\Arduino\libraries\Joystick" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp" -o nul
Alternatives for HID.h: [HID@1.0]
ResolveLibrary(HID.h)
-> candidates: [HID@1.0]
"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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Micro"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\micro" "-IC:\Program Files (x86)\Arduino\libraries\Joystick" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID\src" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp" -o nul
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\Joystick\Joystick.cpp
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID\src\HID.cpp
Generating function prototypes...
"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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Micro"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\micro" "-IC:\Program Files (x86)\Arduino\libraries\Joystick" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID\src" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp" -o "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\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\harry\AppData\Local\Temp\arduino_build_260834\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Micro"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\micro" "-IC:\Program Files (x86)\Arduino\libraries\Joystick" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID\src" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp" -o "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp.o"
Compiling libraries...
Compiling library "Joystick"
Using previously compiled file: C:\Users\harry\AppData\Local\Temp\arduino_build_260834\libraries\Joystick\Joystick.cpp.o
Compiling library "HID"
Using previously compiled file: C:\Users\harry\AppData\Local\Temp\arduino_build_260834\libraries\HID\HID.cpp.o
Compiling core...
Using precompiled core: C:\Users\harry\AppData\Local\Temp\arduino_cache_565735\core\core_arduino_avr_micro_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega32u4 -o "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.elf" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\sketch\ANALOG_EBRAKE.ino.cpp.o" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\libraries\Joystick\Joystick.cpp.o" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834\libraries\HID\HID.cpp.o" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/..\arduino_cache_565735\core\core_arduino_avr_micro_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\harry\AppData\Local\Temp\arduino_build_260834" -lm
"C:\Program Files (x86)\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\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.elf" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.elf" "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.hex"
Using library Joystick in folder: C:\Program Files (x86)\Arduino\libraries\Joystick (legacy)
Using library HID at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-size" -A "C:\Users\harry\AppData\Local\Temp\arduino_build_260834/ANALOG_EBRAKE.ino.elf"
Sketch uses 6114 bytes (21%) of program storage space. Maximum is 28672 bytes.
Global variables use 220 bytes (8%) of dynamic memory, leaving 2340 bytes for local variables. Maximum is 2560 bytes.
An error occurred while uploading the sketch
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�"; type = �
Software Version = i.
Now it worked once on the first try (I don't know why) but it didn't show up in device manager, all that showed up was 'Communications Port: COM1'
I, as you can probably tell, have no idea what any of this means but maybe somebody else can make sense of it. I am happy to send any info over that you need.
Thanks everyone!