Just to let you know that the commander.de stite is un reachable but … I’ve been hunting and YES !!! the sdcc installer (thanks god ! that’s really cool) is available here for all OSX super Star Users !!! :
Hem, i reply to myslelf, not bcause i’m stupid but because i have some clues, and i dont want you waste your time :
I found many interesting informations in the leddigits.inc file, from the midimonV2 application
I think the most important was :
;; --------------------------------------------------------------------------
;; FUNCTION: LEDDIGITS_Update
;; DESCRIPTION: This function should be called periodically by
;; USER_SR_Service_Prepare before the DOUT registers will be updated
;; from MIOS
;; .....
;; --------------------------------------------------------------------------
LEDDIGITS_Update
;; increment LED digit counter, wrap at 4
;; (0, 1, 2, 3, 0, 1, 2, ...)
SET_BSR LEDDIGITS_CTR ; (use bank mechanism so that the registers can be located at addresses >= 0x80)
incf LEDDIGITS_CTR, W, BANKED
andlw 0x03
movwf LEDDIGITS_CTR, BANKED
;; get shift register pattern for the select line:
;; LED digit 0 and 4 -> b'10001000'
;; LED digit 1 and 5 -> b'01000100'
;; LED digit 2 and 6 -> b'00100010'
;; LED digit 3 and 7 -> b'00010001'
I’m on the way to do it working the same way, but without asm.
as I understood, the main trick is to wire the LEDs correctly (I think a sample can be found with the LED-Rings wiring PDF). Then you need kind of a matrix array for each figure you want to display… this matrix is then switched line-by-line…
sorry if I’m so unconcrete… I’m very short in time these days, I’ll watch this thread, maybe I can contribute more details when I get my LED-meters working