mockband/piezos.hh

34 lines
697 B
C++
Raw Normal View History

2024-01-09 11:24:51 -07:00
#pragma once
// Standard setup for a Pro Micro
/*
* Don't forget to do this (guitar pid=0x0004, drum pid=0x0005):
< micro.build.vid=0x2341
< micro.build.pid=0x8037
--
> micro.build.vid=0x1bad
> micro.build.pid=0x0004
< micro.build.extra_flags={build.usb_flags}
---
> micro.build.extra_flags={build.usb_flags} -DCDC_DISABLED
*/
const int BUTTON_GREEN = 18; // A0
const int BUTTON_RED = 19; // A1
const int BUTTON_YELLOW = 20; // A2
const int BUTTON_BLUE = 21; // A3
const int BUTTON_ORANGE = 15;
const int SOLO_GREEN = 9;
const int SOLO_RED = 8;
const int SOLO_YELLOW = 6;
const int SOLO_BLUE = 4;
const int SOLO_ORANGE = 14;
const int BUTTON_PLUS = 1;
const int BUTTON_MINUS = 0;