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
14namespace modulove {
15namespace synclfo {
16
17// GPIO Pin mapping.
18const uint8_t P1 = 0; // Knob 1
19const uint8_t P2 = 1; // Knob 2
20const uint8_t P3 = 3; // Knob 3
21const uint8_t P4 = 5; // Knob 4
22
23const uint8_t P_COUNT = 4; // Number of knobs.
24const uint8_t KNOB_PINS[P_COUNT] = {P1, P2, P3, P4}; // Array of knob GPIO pin identifiers.
25
26const uint8_t GATE_IN = 3; // Digital Input
27const uint8_t CV_OUT = 10; // CV Output for current step
28
29// Synchronizer hardware.
30const uint8_t B1_PIN = A2; // Button 1 (bodged from original D13)
31const uint8_t B2_PIN = 12; // Button 2
32const 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