In de PIC implementatie zouden we een bereik willen hebben van 1 tot 40ms. (gemapt op 1-127 in midi) VERSION FOR HARDWARE COMPATIBILITY WITH WEIDMUELLER CONNECTORS (similar to Puff and Troms) PIC1: - 8 bidirektionele elektromagneten met elektronische terugslag. Weidmueller connectors pin number: midi note function PIC Pin number 0 36 schaal 1 4 RA2 PULSE 1 - terugslag 3 RA1 PULSE 2 37 schaal 2 2 RA0 PULSE 3 - terugslag 5 RA3 PULSE 4 38 schaal 3 6 RA4 PULSE 5 - terugslag 7 RA5 PULSE 6 39 schaal 4 28 RB7 PULSE 7 - terugslag 27 RB6 PULSE id. 8 40 schaal 5 26 RB5 PULSE id. 9 - terugslag 25 RB4 PULSE id. A 41 schaal 6 24 RB3 PULSE id. B - terugslag 23 RB2 PULSE id. C 42 schaal 7 22 RB1 PULSE id. D - terugslag 21 RB0 PULSE id. E 43 schaal 8 16 RC5 PULSE id. F - terugslag 15 RC4 PULSE id. Debug LED @ RC0 (pin11) PIC2: (wellicht is hier een ander (kleiner) puls bereik nodig) Version V2.0: 18F2620 0 44 schaal 9 RB5 PULSE id. 1 45 schaal 10 RB3 PULSE id. 2 46 schaal 11 RC5 PULSE id. 3 47 schaal 12 RB1 PULSE id. 4 48 schaal 1 soft RA2 PULSE id. 5 49 schaal 2 soft RA1 PULSE id. 6 50 schaal 3 soft RA0 PULSE id. 7 51 schaal 4 soft RA3 PULSE id. 8 52 schaal 5 soft RA4 PULSE id. 9 53 schaal 6 soft RA5 PULSE id. A 54 schaal 7 soft RB7 PULSE id. B 55 schaal 8 soft RB6 PULSE id. C 56 schaal 9 soft RB4 PULSE id. D 57 schaal 10 soft RB2 PULSE id. E 58 schaal 11 RC4 PULSE id. F 59 schaal 12 RB0 PULSE id. Debug LED @RC0 (pin 11) Midi kanaal voor Llor: 11 (zelfde kanaal als Belly) (tellend vanaf 0) PIC2: Llor luistert via midi alleen naar NOTE ON kommandos met velocity 1-127 dus: 155, note 48-59, velo 1-127 Controller #30 stelt globale repetitiesnelheid in. Key pressure kan worden gebruikt om voor elke noot afzonderlijk een repetitiesnelheid in te stellen. PIC1: Note On: 155, note 36-47, velo 1-127 special case: note off- using the Note On with velo-0 : 155, 36-47,0: release solenoid with same velo as used for striking. Note: as soon as the timing pulse for the attack is over, the solenoid should return. The return time should always be equal to the striking time pulse given in velo. Note Off with release value: 139, note 36-47, release 1-127 special case: Note off met release = 0 139, 36-47,0: release solenoid with same velo as used for striking. Midi all-off (reset) should cause a release of all solenoids on PIC1. PIC3: On midi input board: Midi note ON/OFF for note 1,2,3,4,5 (on prototype area of PCB board). Midi all notes off should dim all lights. OPTIONAL: velo used for slow PWM for lights... [not yet implemented] Version 1.0: (coded by Johannes Taelman) This version has no autoreturn, no autorepeat no key pressure and no controllers 30 and 31. last update : 12.12.2004 code mapping ok: 27.01.2005 rev. Version 2.0: PIC1 18F2525, coded by gwr, 16.10.2017 PIC2 18F2620, coded by gwr, 17.10.2017