makerfx / mwc-tie-silencer Goto Github PK
View Code? Open in Web Editor NEWMagic Wheelchair Tie Silencer build - Portland, Oregon. Teensy 3.6 + Audio Adaptor (Shield)
Magic Wheelchair Tie Silencer build - Portland, Oregon. Teensy 3.6 + Audio Adaptor (Shield)
This is the repo for the Magic Wheelchair Kylo Ren Tie Silencer build for Stryder Interactive Elements built by Ian Whitehouse, prototyping and code by Ian Cole. Interactive elements include: 4 illuminated arcade buttons that activate light & sound - Photo Torpedo - Laser Cannon (turns off background music if you hold the button) - Kylo Ren speech (and an easter egg if you hold the button!) - Engine Boost (decreases background engine sound level if you hold the button) Sound files and animation files are stored on the microsd card. Weapons LEDs 20 addressable LEDs per side, in lightsaber tubing. Used for Laser & Photon Torpedo animations which are stored on the SD card as BMP files. Each line of the BMP files is one frame of LED animation BMP files are stored in the repo Note that 20 LEDs were used per side and shared a data pin. Main Engines 290 addressable LEDs Animated by peak analysis on the engine audio channel Note that 145 LEDs were used per side and shared a data pin
Have the action mapping process split apart the primary and secondary, give them individual functions
Create generic animation function
Useful for testing animation code when LEDs not available
For example a "charging" animation while the torpedo button is held...
or
When the long-press threshold occurs, take the action without waiting for the button to be released (so that you don't need to know the timing...
Replace the overloading of the frame number such as
int laserFrame = 9999; int torpedoFrame = 9999;
e.g. BUTTON_ENGINE; would be used in map function, and I'm using a hardcoded button number like this if (buttons[3].isLongPressed()) {
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.