- Clone the Pirate Audio GitHub repo and install:
git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh
Detailed Pirate Audio installation instructions can be found here.
// USB MIDI CC controller with Trinket M0 and Pimoroni Potentiometer Breakout. | |
// Adapted from Chris Parrot's Potentiometer example. | |
#include <IOExpander.h> | |
#include <Adafruit_DotStar.h> | |
#include <MIDIUSB.h> | |
// Global constants | |
static const unsigned int DELAY_MS = 1000 / 30; |
git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh
Detailed Pirate Audio installation instructions can be found here.
# CircuitPython demo - NeoPixel | |
import time | |
import board | |
import neopixel | |
import random | |
# Customize your neopixel configuration here... | |
pixel_pin = board.A1 | |
num_pixels = const(96) |
Boldport, one of the interwebs better known hardware design guys went on a rant on how prototyping is so very different from production. If you have ever held a solder gun, or intend to, you should read this.
Why did your "hardware startup" Kickstarter fail? Because none of your prototyping skills are required for production. source
Skill | Prototyping | Production |
---|---|---|
coding | sloppy | efficient |
#include <Wire.h> | |
#include "Adafruit_Trellis.h" | |
#include <SoftwareSerial.h> | |
#include "Adafruit_Soundboard.h" | |
/************ sound board setup ***********/ | |
// Choose any two pins that can be used with SoftwareSerial to RX & TX | |
#define SFX_TX 5 | |
#define SFX_RX 6 | |
// Connect to the RST pin on the Sound Board |