fadercore_-_vlr-8x16ledmeter
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fadercore_-_vlr-8x16ledmeter [2014/07/28 16:37] – novski | fadercore_-_vlr-8x16ledmeter [2014/07/30 11:58] (current) – novski | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| A solution to add 8 Meters with 16 LEDs for each Meter. | A solution to add 8 Meters with 16 LEDs for each Meter. | ||
| - | It contains 2 different Types of PCBs one is the LEDmatrix and the other a slim PCB to mount 16LEDs | + | It contains 2 different Types of PCBs one is the LEDmatrix and the other a slim PCB to mount 16LEDs |
| {{: | {{: | ||
| 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 |
| - | \\ | + | 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 | + | |
| - | \\ | + | |
| - | **Outputs: | + | |
| - | 1# ROW Outputs | + | |
| - | 2# RED LEDs 1-8\\ | + | |
| - | 3# GREEN LEDs 1-8\\ | + | |
| - | 4# BLUE LEDs | + | |
| - | \\ | + | |
| - | Assuming that the VLR-3x8But | + | |
| \\ | \\ | ||
| RESET_HW\\ | RESET_HW\\ | ||
| \\ | \\ | ||
| LCD " | LCD " | ||
| - | \\ | ||
| LCD " | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | LCD " | ||
| - | \\ | ||
| - | # In this demo we configure individual brightness levels for the LEDs from EVENT_BUTTON events\\ | ||
| - | \\ | ||
| - | LCD " | ||
| \\ | \\ | ||
| - | DIN_MATRIX | + | # Test D-OUT LEDmatrix board\\ |
| - | DOUT_MATRIX n=1 rows=4 | + | |
| \\ | \\ | ||
| - | # 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 |
| - | # it's possible to set the rgb levels in the button event, it will be forwarded as well!\\ | + | |
| \\ | \\ | ||
| - | EVENT_BUTTON | + | # Matrix control by a Encoder connected to DIN\\ |
| - | EVENT_BUTTON | + | ENC n=1 sr=1 pins=0:1 type=detented2\\ |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| \\ | \\ | ||
| - | EVENT_BUTTON | + | EVENT_ENC |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| - | EVENT_BUTTON | + | |
| \\ | \\ | ||
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 0 pattern=0000000000000000\\ |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 1 |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 2 pattern=1100000000000000\\ |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 3 pattern=1110000000000000\\ |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 5 pattern=1111100000000000\\ |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 |
| - | EVENT_BUTTON | + | LED_MATRIX_PATTERN n= 1 pos= 7 pattern=1111111000000000\\ |
| + | LED_MATRIX_PATTERN n= 1 | ||
| + | LED_MATRIX_PATTERN n= 1 pos= 8 pattern=1111111110000000\\ | ||
| + | LED_MATRIX_PATTERN n= 1 | ||
| + | LED_MATRIX_PATTERN n= 1 pos=10 pattern=1111111111100000\\ | ||
| + | LED_MATRIX_PATTERN n= 1 | ||
| + | LED_MATRIX_PATTERN n= 1 pos=12 pattern=1111111111111000\\ | ||
| + | LED_MATRIX_PATTERN n= 1 | ||
| + | LED_MATRIX_PATTERN n= 1 pos=14 pattern=1111111111111110\\ | ||
| + | LED_MATRIX_PATTERN n= 1 | ||
| \\ | \\ | ||
| - | 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: | + | 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: |
| For any Comment or Question: Forum Thread??? | For any Comment or Question: Forum Thread??? | ||
fadercore_-_vlr-8x16ledmeter.1406565459.txt.gz · Last modified: 2014/07/28 16:37 by novski
