Ryzee119 / ogx360

Add modern xinput USB support to your Original Xbox :tv: :video_game:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debug hex file

UnElectronicoMas opened this issue · comments

Hi, @Ryzee119 i built a simpified version of ogx360 adapter using the mini USB host shield 2.0 following the issues post called "Customized ogx360 hardware with Pro Micro 3.3V " and now i want to test it, the problem is when i open the firmware on platformio, visual studio only show me the OGX360-master/Firmware environment, how can i compile the debug hex file to test the board? i need to modify somthing on your code to compile the debug version? thanks in advance

Hi @UnElectronicoMas , apologies for the delay,

The QC test program is basically this: https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/board_qc/board_qc.ino. Build and use with standard ArduinoIDE is probably the easiest way to get it compiled.

The only thing you need to add early in the setup() function, before Usb.init() i this:

#define USB_HOST_RESET_PIN 9
pinMode(USB_HOST_RESET_PIN, OUTPUT);
digitalWrite(USB_HOST_RESET_PIN, LOW);

Don't worry about the delay, I know you are very busy, thanks for answering my question, I definitely know what to do now. In a moment I will donate in paypal for a coffee. Congratulations for your effort and work!

sorry, paypal is denying my card, do you have other method to donate ?

Hope you got it all working! Please let me know if you found anyhting else