gdsports / nsgadget_teensy Goto Github PK
View Code? Open in Web Editor NEWNintendo Switch Gamepad using Teensy LC/3/4
License: MIT License
Nintendo Switch Gamepad using Teensy LC/3/4
License: MIT License
Hello!
Thanks so much for the useful library! I'm trying to use this along with the Teensy audio library, to take audio input through I2S. However, whenever I try to compile code with the "USB Type" set to "NS Gamepad", I get many errors related to Serial not being defined. For example:
control_ak4558.cpp: In member function 'void AudioControlAK4558::initConfig()':
control_ak4558.cpp:25:3: error: 'Serial' was not declared in this scope
Serial.print("Register ");
I'm guessing this is related to the teensy not including USB serial when emulating a gamepad, however other USB types that don't include serial, such as "Audio" or "Keyboard" don't produce those errors. Maybe those other board types are spoofing the Serial class?
Any ideas would be greatly appreciated. Thanks!
Please add releases or tags so we can track and subscribe for important changes and see changelog
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.