Subversion Repositories svn.mios32

Rev

Rev 1699 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1699 tk 1
 
2
3
 
4
5
 
6
 
7
# Schematic: http://www.ucapps.de/mbhp/button_duoled_matrix.pdf
8
9
 
10
DOUT_MATRIX n=1  rows=4  inverted=0  sr_dout_sel1=1  sr_dout_r1=2  sr_dout_g1=3
11
DOUT_MATRIX n=2  rows=4  inverted=0  sr_dout_sel1=4  sr_dout_r1=5  sr_dout_g1=6
12
13
 
14
 
15
# Both LEDs are assigned to the same MIDI event, but they range over different value maps which specify the brightness
16
#  0..15: fade green LED
17
# 16..31: fade red LED
18
# 32..47: fade both LEDs (-> yellow)
19
# 48..63: fade both LEDs with different levels
20
MAP1  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 \
21
      0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 \
22
 
23
      2  2  2  2  4  4  4  4  6  8 10 12 14 15 15 15
24
25
 
26
      1  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 \
27
      1  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 \
28
      1  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15
29
30
 
31
# but the effective dim level is limited by the number of scanned rows:
32
#  - 4  rows: only 8 levels (0..1, 2..3, 4..5, 6..7, 8..9, 10..11, 12..13, 14..15)
33
#  - 8  rows: only 4 levels (0..3, 4..7, 8..11, 12..15)
34
#  - 16 rows: only 2 levels (0..7, 8..15)
35
36
 
37
EVENT_LED_MATRIX id=1  hw_id=1  colour=0  type=CC cc=16 chn=1 dimmed=1 range=map1   fwd_to_lcd=1 lcd_pos=1:1:2 label="Matrix1 Pin %2p %b"
38
EVENT_LED_MATRIX id=2  hw_id=1  colour=1  type=CC cc=16 chn=1 dimmed=1 range=map2   fwd_to_lcd=1 lcd_pos=1:1:2 label="Matrix1 Pin %2p %b"
39
40
 
41
EVENT_LED_MATRIX id=4  hw_id=2  colour=1  type=CC cc=48 chn=1 dimmed=1 range=map2   fwd_to_lcd=1 lcd_pos=1:1:2 label="Matrix2 Pin %2p %b"
42