Arduino code for the Trinket m0 (Nintendo switch payload launcher)

Kitsen

.
Joined
Jun 14, 2018
Messages
49
Likes
13
Portables
do tupper-stein count?
Hi guys,

I'd need someone to work with me on a personal project, long story short I want to add two things into my Switch, a payload launcher (trinket m0) and bluetooth audio.

I was inspired by JacksonS' work on adding bluetooth audio to the switch but instead of adding a microcontroller to the board I'd like the trinket to manage that as well as send the payload to the switch when booted in RCM (based on the codes by Quantum_cross)

Here's what I'd like, I'd like the switch to launch the payload when it boots into RCM and then go to sleep but i'd like for it to wake up when I press the ''vol -'' button and stay awake as long as the led on my Bluetooth board (TL-BC5-16) is turned on.

While the led is on I'd like the trinket to push a low digital signal out of pin_13 into the sense pin of the switch's audio hack.

here's a breakdown of the pins

pin_3: joycon strap

pin_2: CPU reset

pin_4: read: Volume -

pin_1: send low voltage when Volume - is pressed

pin_0: read: Led_in (read the voltage of the led pad on the BC5)

pin_13: send digital low signal when pin_0 reads high (I'll be removing the led for that purpose)

Let me know how much it'd be and I'd be happy to pay for your help!
 
Top