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

    NiCd/NiMH Battery Charger
    High frequency signal generator
    Ph-probe-and-detector
    low power switching regulator
    Simplest atmega8 programmer Using LPT Port
    Tube Mic Pre-Amp
    50W car audio amplifier schematic circuits
    am radio
    Arduino UNO Tutorial Rotary Encoder
    Classic 8051 Memory Layout
    Microcontroller Clocking a Transmitter?
    Mods and Odds
    Lights Out circuit



    Top