Jump to content

OLED-Display MTC und Status


TOKEN_one
 Share

Recommended Posts

Hat wohl noch gefehlt - hier eine neue version: :happy:
-> http://www.ucapps.de/mios32/midibox_ng_v1_036_pre2.zip

Die digits lassen sich mit %L darstellen

Hier ein Konfigurationsbeispiel - die bereits vorhandenen EVENT_LED_MATRIX konfigurationen muessen um fwd_to_lcd, lcd_pos und label erweitert werden:

# Following example shows how LC digits could be displayed on a LCD with the events above
# notes:
# - replace the EVENT_LED_MATRIX configurations above by the new ones with lcd definitions
# - change lcd positions by locations which are not used by other text messages yet!
#
# EVENT_LED_MATRIX id=33 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 64  syxdump_pos=10:0  fwd_to_lcd=1  lcd_pos=1:14:1 label="%L"
# EVENT_LED_MATRIX id=34 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 65  syxdump_pos=10:1  fwd_to_lcd=1  lcd_pos=1:13:1 label="%L"
# EVENT_LED_MATRIX id=17 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 66  syxdump_pos=10:2  fwd_to_lcd=1  lcd_pos=1:11:1 label=".%L"
# EVENT_LED_MATRIX id=18 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 67  syxdump_pos=10:3  fwd_to_lcd=1  lcd_pos=1:10:1 label="%L"
# EVENT_LED_MATRIX id=19 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 68  syxdump_pos=10:4  fwd_to_lcd=1  lcd_pos=1:8:1  label=":%L"
# EVENT_LED_MATRIX id=20 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 69  syxdump_pos=10:5  fwd_to_lcd=1  lcd_pos=1:7:1  label="%L"
# EVENT_LED_MATRIX id=21 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 70  syxdump_pos=10:6  fwd_to_lcd=1  lcd_pos=1:5:1  label=":%L"
# EVENT_LED_MATRIX id=22 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 71  syxdump_pos=10:7  fwd_to_lcd=1  lcd_pos=1:4:1  label="%L"
# EVENT_LED_MATRIX id=23 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 72  syxdump_pos=10:8  fwd_to_lcd=1  lcd_pos=1:2:1  label=":%L"
# EVENT_LED_MATRIX id=24 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 73  syxdump_pos=10:9  fwd_to_lcd=1  lcd_pos=1:1:1  label="%L"
# 
# # status digits
# EVENT_LED_MATRIX id=39 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 75  syxdump_pos=11:1  fwd_to_lcd=1  lcd_pos=1:2:2  label="%L"
# EVENT_LED_MATRIX id=40 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 74  syxdump_pos=11:0  fwd_to_lcd=1  lcd_pos=1:1:2  label="%L"

Mit lcd_pos legst Du das display und die X/Y Koordinaten fest, und mit %L wird ein Logic Digit ausgegeben.

Gruss, Thorsten.

 

Link to comment
Share on other sites

Die vor Compilerte geht super :happy:

Wenn ich bei mir jetzt Compiler nach dem Aktualisiern vom SVN kommt die Meldung.

  1. CD: F:\mios32\apps\controllers\midibox_ng_v1\
    Current directory: F:\mios32\apps\controllers\midibox_ng_v1
    make
    Process started >>>
    rm -f project.hex
    f:/mios32_toolchain/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld.exe: project_build/project.elf section `.bss_ahb' will not fit in region `RAMAHB'
    f:/mios32_toolchain/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld.exe: region `RAMAHB' overflowed by 10176 bytes
    collect2.exe: error: ld returned 1 exit status
    make: *** [project_build/project.elf] Error 1
    <<< Process finished. (Exit code 2)
    ================ READY ================

Hilfeeee:confused:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...