User Tools

Site Tools


fadercore_-_vlr-8x16ledmeter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
fadercore_-_vlr-8x16ledmeter [2014/07/28 16:37]
novski
fadercore_-_vlr-8x16ledmeter [2014/07/28 22:00]
novski
Line 56: Line 56:
 ==== Test it in MIOS ==== ==== Test it in MIOS ====
 \\ \\
-To make it work with MIOS .NGC  File we need to know how the shift-registers are connected.\\ +I use a Encoder connected directly ​to a DIN to test
-\\ +Assuming that the DOUT is the first device on the chain of J8/9 we need to configure it like this:\\
-**Inputs:​**\\ +
-1# Switch Columns ​ 1-8\\ +
-\\ +
-**Outputs:​**\\ +
-1# ROW Outputs ​    ​1-6\\ +
-2# RED LEDs        1-8\\ +
-3# GREEN LEDs      1-8\\ +
-4# BLUE LEDs       ​1-8\\ +
-\\ +
-Assuming that the VLR-3x8But ​is the first device on the chain of J8/9 we need to configure it like this:\\+
 \\ \\
 RESET_HW\\ RESET_HW\\
 \\ \\
 LCD "​%C"​\\ LCD "​%C"​\\
-\\ 
 LCD "​@(1:​1:​1)OLED1"​\\ LCD "​@(1:​1:​1)OLED1"​\\
-LCD "​@(2:​1:​1)OLED2"​\\ 
-LCD "​@(3:​1:​1)OLED3"​\\ 
-LCD "​@(4:​1:​1)OLED4"​\\ 
-LCD "​@(5:​1:​1)OLED5"​\\ 
-LCD "​@(6:​1:​1)OLED6"​\\ 
-LCD "​@(7:​1:​1)OLED7"​\\ 
-LCD "​@(8:​1:​1)OLED8"​\\ 
-\\ 
-# In this demo we configure individual brightness levels for the LEDs from EVENT_BUTTON events\\ 
-\\ 
-LCD "​@(1:​10:​1)RGB Demo #2"\\ 
 \\ \\
-DIN_MATRIX ​ n=1  rows=4 ​ sr_dout_sel1=1 ​ sr_din1=1 ​                    ​button_emu_id_offset=1001\\ +# Test D-OUT LEDmatrix board\\
-DOUT_MATRIX n=1  rows=4 ​ sr_dout_r1=2 ​   sr_dout_g1=3 sr_dout_b1=4 ​    ​led_emu_id_offset=1025\\+
 \\ \\
-# These button functions forward their value also to LEDs\\ +DOUT_MATRIX n=1  rows=8 inverted=1 sr_dout_sel1=1 sr_dout_r1=2 ​ sr_dout_r2=3\\
-# it's possible to set the rgb levels in the button event, it will be forwarded as well!\\+
 \\ \\
-EVENT_BUTTON ​ id=1001 ​ fwd_id=LED:​1025 ​ type=NoteOn key=36 chn=1  rgb=15:0:0 lcd_pos=1:​1:​2 label="​^std_btn"​\\ +# Matrix control by a Encoder connected to DIN\\ 
-EVENT_BUTTON ​ id=1002 ​ fwd_id=LED:​1026 ​ type=NoteOn key=37 chn=1  rgb=15:0:0 lcd_pos=2:1:2 label="​^std_btn"​\\ +ENC n=1 sr=1 pins=0:1 type=detented2\\
-EVENT_BUTTON ​ id=1003 ​ fwd_id=LED:​1027 ​ type=NoteOn key=38 chn=1  rgb=15:0:0 lcd_pos=3:1:2 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1004 ​ fwd_id=LED:​1028  ​type=NoteOn key=39 chn=1  rgb=15:0:0 lcd_pos=4:​1:​2 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1005 ​ fwd_id=LED:​1029 ​ type=NoteOn key=40 chn=1  rgb=15:0:0 lcd_pos=5:​1:​2 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1006 ​ fwd_id=LED:​1030 ​ type=NoteOn key=41 chn=1  rgb=15:0:0 lcd_pos=6:​1:​2 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1007 ​ fwd_id=LED:​1031 ​ type=NoteOn key=42 chn=1  rgb=15:0:0 lcd_pos=7:​1:​2 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1008 ​ fwd_id=LED:​1032 ​ type=NoteOn key=43 chn=1  rgb=15:0:0 lcd_pos=8:​1:​2 label="​^std_btn"​\\+
 \\ \\
-EVENT_BUTTON  ​id=1009  fwd_id=LED:​1033 ​ type=NoteOn key=52 chn=1  ​rgb=0:​15:​0 lcd_pos=1:​1:​3 label="​^std_btn"​\\ +EVENT_ENC ​id= 1  fwd_id=LED_MATRIX:1   ​type=CC chn= 1 cc24  ​lcd_pos=1:​1:​label="​^std_enc" ​LED_MATRIX_PATTERN=1\\
-EVENT_BUTTON ​ id=1010 ​ ​fwd_id=LED:1034  type=NoteOn key=53 chn= ​rgb=0:​15:​0 lcd_pos=2:​1:​3 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1011 ​ fwd_id=LED:​1035  ​type=NoteOn key=54 ​chn=1  rgb=0:15:0 lcd_pos=3:​1:​3 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1012 ​ fwd_id=LED:​1036 ​ type=NoteOn key=55 chn=1  rgb=0:​15:​0 ​lcd_pos=4:1:3 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1013 ​ fwd_id=LED:​1037 ​ type=NoteOn key=56 chn= rgb=0:15:0 lcd_pos=5:​1:​3 ​label="​^std_btn"\\ +
-EVENT_BUTTON ​ id=1014 ​ fwd_id=LED:​1038 ​ type=NoteOn key=57 chn=1  ​rgb=0:​15:​0 lcd_pos=6:​1:​3 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1015 ​ fwd_id=LED:​1039 ​ type=NoteOn key=58 chn=1  rgb=0:15:0 lcd_pos=7:​1:​3 label="​^std_btn"​\\ +
-EVENT_BUTTON ​ id=1016 ​ fwd_id=LED:​1040 ​ type=NoteOn key=59 chn=1  rgb=0:15:0 lcd_pos=8:​1:​3 label="​^std_btn"​\\+
 \\ \\
-EVENT_BUTTON ​ id=1017  fwd_id=LED:​1041 ​ type=NoteOn key=68 chn=1  ​rgb=0:0:15 lcd_pos=1:1:4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n pos pattern=0000000000000000\\ 
-EVENT_BUTTON ​ id=1018  fwd_id=LED:​1042 ​ type=NoteOn key=69 chn=1  ​rgb=0:0:15 lcd_pos=2:​1:​label="​^std_btn"​\\ +LED_MATRIX_PATTERN n1  pos= 1  ​pattern=1000000000000000\\ 
-EVENT_BUTTON ​ id=1019  fwd_id=LED:​1043 ​ type=NoteOn key=70 chn=1  ​rgb=0:0:15 lcd_pos=3:​1:​4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n= 1  pos= 2  pattern=1100000000000000\\ 
-EVENT_BUTTON ​ id=1020  fwd_id=LED:​1044 ​ type=NoteOn key=71 chn=1  ​rgb=0:0:15 lcd_pos=4:1:4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n pos pattern=1110000000000000\\ 
-EVENT_BUTTON ​ id=1021  fwd_id=LED:​1045 ​ type=NoteOn key=72 chn=1  ​rgb=0:0:15 lcd_pos=5:1:4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n= 1  ​pos= 4  ​pattern=1111000000000000\\ 
-EVENT_BUTTON ​ id=1022  fwd_id=LED:​1046 ​ type=NoteOn key=73 chn=1  ​rgb=0:0:15 lcd_pos=6:​1:​4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n pos pattern=1111100000000000\\ 
-EVENT_BUTTON ​ id=1023  fwd_id=LED:​1047 ​ type=NoteOn key=74 chn=1  ​rgb=0:0:15 lcd_pos=7:​1:​4 label="​^std_btn"​\\ +LED_MATRIX_PATTERN n= 1  ​pos6  pattern=1111110000000000\\ 
-EVENT_BUTTON ​ id=1024  fwd_id=LED:​1048 ​ type=NoteOn key=75 chn=1  ​rgb=0:0:15 lcd_pos=8:​1:​4 label="​^std_btn"​\\+LED_MATRIX_PATTERN n pos pattern=1111111000000000\\ 
 +LED_MATRIX_PATTERN n= 1  ​posM  pattern=1111111100000000\\ 
 +LED_MATRIX_PATTERN n pos pattern=1111111110000000\\ 
 +LED_MATRIX_PATTERN n= 1  ​pos9  pattern=1111111111000000\\ 
 +LED_MATRIX_PATTERN n pos=10  pattern=1111111111100000\\ 
 +LED_MATRIX_PATTERN n= 1  ​pos=11  pattern=1111111111110000\\ 
 +LED_MATRIX_PATTERN n pos=12  pattern=1111111111111000\\ 
 +LED_MATRIX_PATTERN n= 1  ​pos=13  pattern=1111111111111100\\ 
 +LED_MATRIX_PATTERN n pos=14  pattern=1111111111111110\\ 
 +LED_MATRIX_PATTERN n= 1  ​pos=15  ​pattern=1111111111111111\\
 \\ \\
-Im using my VLR-8oDisp board to show the Values of every item. You can change it to any other type of Display-setting... lcd_pos=6:​1:​5 {6=Display number : 1= X-axis : 5= Y-Axis (row)}+Im using my VLR-8oDisp board to show the Values of the encoder. You can change it to any other type of Display-setting... lcd_pos=6:​1:​5 {6=Display number : 1= X-axis : 5= Y-Axis (row)}
  
 For any Comment or Question: Forum Thread??? For any Comment or Question: Forum Thread???
fadercore_-_vlr-8x16ledmeter.txt · Last modified: 2014/07/30 11:58 by novski