microcontroller complete code midi emulated ps 2 keyboard

Posted on Feb 6, 2014

hi i have been working on this code for a while now and i have come to a complete dead end. the following code takes midi data on the rx pin of the usart, saves the 3 bytes of data in the cblock, tests the first byte to see if it is a midi on message (xxxx1001) by masking the upper nibble and subtracting from a constant to see if it equals zero, i

microcontroller complete code midi emulated ps 2 keyboard
Click here to download the full size of the above Circuit.

f so take the next byte, convert it using the lookup table. THEN send this data via ra0 and ra1 in a loop which emulates a ps/2 keyboard after calculating the odd parity bit. first things first, i wrote the diagnostic LED part which doesn`t work, led 1 is constantly ON and led2 flashes on, then off, then is constantly on, AND THEN led 3 won`t even come on. _CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_ON & _PWRTE_ON & _WDT_OFF & _HS_OSC

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Guild Country Belle Telephone Radio (1956)
    8051 flash programmer
    auto power off schematics
    gym agility simple strategy
    Fog Lamp Sensor Circuit
    Schematic effect
    Current Sensor Testing and calibration
    Digital Slave Flash Trigger PIC 12F675
    Barn Door motor driven Mounts
    Updated Circuit Details for Clara Rockmores Theremin
    USB-Atmel External 3.3V Level Converter
    NE555 triangular wave loading system, square wave generator circuit
    Double limit temperature alarm circuit
    300 to 1500kW straight with a generator of Lightning