lib Modulove
Library for building custom scripts for Modulove modules.
Loading...
Searching...
No Matches
arythmatik_peripherials.h
Go to the documentation of this file.
1
11
#ifndef ARYTHMATIK_PERIPHERIALS_H
12
#define ARYTHMATIK_PERIPHERIALS_H
13
14
namespace
modulove {
15
namespace
arythmatik {
16
17
// OLED Display config
18
#define OLED_ADDRESS 0x3C
19
#define SCREEN_WIDTH 128
20
#define SCREEN_HEIGHT 64
21
22
// Peripheral input pins
23
#define ENCODER_PIN1 2
24
#define ENCODER_PIN2 3
25
#define ENCODER_SW_PIN 12
26
27
// Default panel orientation.
28
#define CLK_PIN 13
29
#define RST_PIN 11
30
// Rotated panel.
31
#define CLK_PIN_ROTATED 11
32
#define RST_PIN_ROTATED 13
33
34
// Output Pins
35
#define CLOCK_LED 4
36
#define OUT_CH1 5
37
#define OUT_CH2 6
38
#define OUT_CH3 7
39
#define OUT_CH4 8
40
#define OUT_CH5 9
41
#define OUT_CH6 10
42
#define LED_CH1 14
43
#define LED_CH2 15
44
#define LED_CH3 16
45
#define LED_CH4 0
46
#define LED_CH5 1
47
#define LED_CH6 17
48
49
// Output Pins for rotated panel.
50
#define OUT_CH1_ROTATED 8
51
#define OUT_CH2_ROTATED 9
52
#define OUT_CH3_ROTATED 10
53
#define OUT_CH4_ROTATED 1
54
#define OUT_CH5_ROTATED 6
55
#define OUT_CH6_ROTATED 7
56
#define LED_CH1_ROTATED 0
57
#define LED_CH2_ROTATED 1
58
#define LED_CH3_ROTATED 17
59
#define LED_CH4_ROTATED 14
60
#define LED_CH5_ROTATED 15
61
#define LED_CH6_ROTATED 16
62
63
const
uint8_t OUTPUT_COUNT = 6;
64
65
}
// namespace arythmatik
66
}
// namespace modulove
67
68
#endif
Generated by
1.9.8