|
@@ -146,7 +146,6 @@ void add_samples(uint32_t dir)
|
|
|
|
|
|
void setup()
|
|
void setup()
|
|
{
|
|
{
|
|
- Serial.begin(1000000); // JCB
|
|
|
|
controller_init();
|
|
controller_init();
|
|
GD.begin();
|
|
GD.begin();
|
|
GD.ascii();
|
|
GD.ascii();
|
|
@@ -216,7 +215,6 @@ void loop()
|
|
static byte prev;
|
|
static byte prev;
|
|
byte press;
|
|
byte press;
|
|
press = controller_sense();
|
|
press = controller_sense();
|
|
- press = random(16);
|
|
|
|
if (prev == 0) {
|
|
if (prev == 0) {
|
|
if (press & CONTROL_DOWN)
|
|
if (press & CONTROL_DOWN)
|
|
cursor = min(ninstruments - 1, cursor + 1);
|
|
cursor = min(ninstruments - 1, cursor + 1);
|