blob: 2b5bb440a3066020db907254fbaccb8e8c38750e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <Control_Surface.h>
class CCPotentiometer14 : public MIDIFilteredAnalog<ContinuousCCSender14<10>> {
public:
CCPotentiometer14(pin_t analogPin, MIDIAddress address)
: MIDIFilteredAnalog(analogPin, address, {}) {}
};
USBMIDI_Interface midi;
CCPotentiometer14 pot {A0, MIDI_CC::General_Purpose_Controller_1};
void
setup()
{
Control_Surface.begin();
}
void
loop()
{
Control_Surface.loop();
}
|