lib Modulove
Library for building custom scripts for Modulove modules.
Loading...
Searching...
No Matches
synclfo_peripherials.h
Go to the documentation of this file.
1
11
#ifndef SYNCLFO_PERIPHERIALS_H
12
#define SYNCLFO_PERIPHERIALS_H
13
14
namespace
modulove {
15
namespace
synclfo {
16
17
// GPIO Pin mapping.
18
const
uint8_t P1 = 0;
// Knob 1
19
const
uint8_t P2 = 1;
// Knob 2
20
const
uint8_t P3 = 3;
// Knob 3
21
const
uint8_t P4 = 5;
// Knob 4
22
23
const
uint8_t P_COUNT = 4;
// Number of knobs.
24
const
uint8_t KNOB_PINS[P_COUNT] = {P1, P2, P3, P4};
// Array of knob GPIO pin identifiers.
25
26
const
uint8_t GATE_IN = 3;
// Digital Input
27
const
uint8_t CV_OUT = 10;
// CV Output for current step
28
29
// Synchronizer hardware.
30
const
uint8_t B1_PIN = A2;
// Button 1 (bodged from original D13)
31
const
uint8_t B2_PIN = 12;
// Button 2
32
const
uint8_t LED1_PIN = 11;
// LED 1
33
// const uint8_t LED2_PIN = 10; // LED 2
34
35
}
// namespace synclfo
36
}
// namespace modulove
37
38
#endif
Generated by
1.9.8