' *******************************************************
' *                 Format documentation for            *
' *         midiSysex as used in robots and automats    *
' *         designed by dr.Godfried-Willlem Raes at     *
' *         Logos  Foundation, Ghent, Belgium           *
' *******************************************************
' 16.03.2006: last update. - PIC labelled: Klokken V2.0
' 8 different velocity lookup tables can be uploaded via
' sysex into flash memory of the PIC.
' These lookup tables can then be selected through program
' change commands via midi.
' Do not load tables and sysexes during normal operation of
' the automat!
' once uploaded, the lookups remain in PIC flash memory also
' after turning of the power supply.
' As a confirmation of success of the upload, the LED on the
' board will glow.
; SYSEX FORMAT:
;
;   0xF0            - sysex start
;   0x7D            - "experimental" manufactorer's ID
;   0x6B            - "k" - "pin code byte 1"
;   0x6C            - "l" - "pin code byte 2"
;   0x6F            - "o" - "pin code byte 3"
;   0x6B            - "k" - "pin code byte 4"
;   0x00            - Midi Channel    -
;   0xXX            - 120-127 Program number  - remark: program number 0 is default and non-reprogrammable
;   Note number
;   Velocity 1 Timer MSB    - 7 bit data
;   Velocity 1 Timer LSB    - 14 bit timer resolution
;   Velocity 2 Timer MSB
;   Velocity 2 Timer LSB
;   ..
;   Velocity 127 Timer MSB
;   Velocity 127 Timer LSB
;   0xF7            - end of sysex

END FUNCTION