So I will say the process of getting here was a bit of an experience for me...
First off, without even having gun in hand, following the procedures in advance setting the board up had me for a loop.Firstly, even getting an RP2040 recognized in Arduino software--which Adafruit's store page and documentation contradict one-another atm (one says there is no support, another generic Raspberry Pico page was updated saying there
is...)--was difficult since it's a
third-party repository that needed a bit of searching to find. Would be nice to add this in the SamcoEnhanced readme for 2040-ers.Sidenote, this might just be my PC, but the board wasn't being assigned a serial driver like it's
supposed to, but was stubbornly hanging as an unknown device with no known drivers. I had to force the 'RP2 USB' device to use a Microsoft-brand USB Serial Device. But at least afterwards, I can assign the port number and it was able to be flashed just fine.
One thing that was unclear as a first-timer was the note in the Enhanced repo;
If you are using an ItsyBitsy M0 or M4 then I recommend you set the Optimize option to -O3 (or faster). If you are using an ItsyBitsy RP2040 then I recommend the -O3 Optimize option.
I was looking and couldn't find any such Optimize flag options; neither in the Preferences, or the Sketch/Tools dropdowns
that Ada's documentation suggested should be there. Nada.And results when searching for "Arduino optimization flags" kept bringing up coding habits, but not the GCC flags. There was only one I could find after going through multiple pages that pointed to
C:\Program Files (x86)\Arduino\hardware\arduino\avr\platform.txt where I could change the references of
-Os to
-O3. If there is something I'm overlooking here, feel free to say, but maybe a note should be appended on what exactly this step means on the latest Arduino IDE.
Anyways, from there, code runs, that's all I could get at the time. Fast forward to today and my GCon 2 arrives.
Time to get to work.Disassembly and all that wasn't hard at all, thanks to Samco's own video documentation on the process. This was my first substantial soldering work in quite some time, so I was proud to see good joints coming out of it.My main difficulty came when I was adding in a microswitch mod where I had to rip out the original trigger tact switch (what a
frick that was), and plant in a microswitch alongside a replacement arm attached to the trigger. While that worked out, it made cable routing feel kind of precarious - of which I also had a bit of trouble, since I tried attaching my microUSB to the board
after attaching the B button board, which wouldn't work. I had to take out the button standoff and put the cable in before reattaching, but it felt
quite tight. Thankfully, it all ended up coming together in the end.
Prow is all too right about the GPIO mapping. But I figured it out with just a bit of cross-referencing Samco's documents;
Trigger = 6
D-Up = 9
D-Left = 8
D-Down = 7
D-Right = 10
C = 11
A/B/Start/Select/Pedal stays the same.
While I'm unfortunately still not able to use the gun due to the camera still being backordered, I can at least confirm all the inputs work (after changing the sketch mappings) as well as the calibration toggle. It will unfortunately be another lengthy wait I imagine before this is really finished, but the process so far has been fun and leaving me with great anticipation for what it's like when it's really working.
A lot of rambling for a lot of nothing seems to be my only contributions here, but I'm kind of okay with that. (^^;