Super busy in the shop - will clean this up a bit when there is more free time.
This code uses Nicohood's Nintendo library
This code is original but based off of the concepts in Simple's DIY repository (from Jan 6 2017) as well as Crane's GCCPCB repository. Special thanks to both of those peeps! I am unaware of any direct lines of code that matches either of the above repositories, but generally willing to make changes here to ensure we are not copying someone else's work unintentionally. Please also take a moment to visit the main sources referenced above:
https://github.com/SimpleControllers/SimpleControllersBuild-a-Box
https://github.com/Crane1195/GCCPCB/tree/master/code/GCCPCB2-v1.209 (outdated, he has a new repo called CL-FW)
Note: Values in our code were observed by flashing Crane's GCCPCB2 code to an arduino PCB and observing the values in "Visual Controller Test".
This code is open source and instuctions for routine flashing, remapping and using it's features (switching to a Brook board) as well as a pinout for our LBX will be posted online.
Modifications to adapt this code for other game types and protocols will be posted in separate files.
Code that combines all game types and protocols has not been written.
A license in line with other projects in this space is provided.