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

    Semiconductors Lessons In Electric Circuits
    Optoreflector
    9V DC Adapter With Battery Backup
    LED Drive using TPS61042
    Color Mirror Screw Project
    Carbon Mic Replacement To Magnetic Mike Converter Circuit
    Spark Transmitter Circuit
    Henry Radio 5K Classic Blower Modifications
    FOUR STATION TWO WAYl
    Audio Stereo Amplifer



    Top