Im working on a project with a steering wheel and pedals. I uploaded the code and turned the arduino into a joystick using a file called UnoJoyWin. Although i have to do some changes in the code and I can not turn the joystick back to arduino. Can someone help pls?
Notes:
Change "-cusbasp" to match your ISP device.
If your board has the older ATmega8u2, use "-pm8u2" instead of "-pm16u2"
Change Directory to the Arduino "hardware" directory.
On Windows it is something like:
cd "C:\Program Files (x86)\arduino-1.6.13\hardware\"
On a Mac it is something like:
cd "/Applications/Arduino.app/Contents/Java/hardware/"
// MEGA update 16u2
tools/avr/bin/avrdude -Ctools/avr/etc/avrdude.conf -pm16u2 -Pusb -cusbasp -Uflash:w:arduino/firmwares/atmegaxxu2/arduino-usbdfu/MEGA-dfu_and_usbserial_combined.hex -Ulfuse:w:0xFF:m -Uhfuse:w:0xD9:m -Uefuse:w:0xF4:m -Ulock:w:0x0F:m
// UNO update 16u2
tools/avr/bin/avrdude -Ctools/avr/etc/avrdude.conf -pm16u2 -Pusb -cusbasp -Uflash:w:arduino/firmwares/atmegaxxu2/arduino-usbdfu/UNO-dfu_and_usbserial_combined.hex -Ulfuse:w:0xFF:m -Uhfuse:w:0xD9:m -Uefuse:w:0xF4:m -Ulock:w:0x0F:m
@shadow757 Installation and Troubleshooting is for Problems with the Arduino IDE itself NOT your project. It says so in the description of the section.
Therefore I have moved your post here. Please be more careful where you post in future.
You may want to read this before you proceed:-
how to get the best out of this forum
So i actually solved my problem. To anyone wondering. what i undertood (im still a newbie) the unojoy actually replaces de arduino firmware. thats why the pc recognizes it as a joystick forever and is always sending info (TX led always lit). I had to download a file called "Arduino-usbserial-uno.hex" and upload it into Flip 3.4.7 after a shutdown force in the arduino. Hope i helped anyone w the same problem i had
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.