Skip to content

Instantly share code, notes, and snippets.

@NickCulbertson
Last active December 13, 2022 17:48
Show Gist options
  • Save NickCulbertson/9b3f0219b7822207e787bbb6c129fe1a to your computer and use it in GitHub Desktop.
Save NickCulbertson/9b3f0219b7822207e787bbb6c129fe1a to your computer and use it in GitHub Desktop.
Arduino MIDI Atari Punk Console
#include <Control_Surface.h>
USBMIDI_Interface midi;
void setup() { Control_Surface.begin(); }
CCPotentiometer potentiometer1 = { A0, {MIDI_CC::General_Purpose_Controller_1} };
CCPotentiometer potentiometer2 = { A1, {MIDI_CC::General_Purpose_Controller_2} };
CCPotentiometer potentiometer3 = { A2, {MIDI_CC::General_Purpose_Controller_3} };
CCPotentiometer potentiometer4 = { A3, {MIDI_CC::General_Purpose_Controller_4} };
void loop() { Control_Surface.loop(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment