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:

New Circuits

.

 


Popular Circuits

Air-motion-detector
Wideband Preamp Circuit
Visual Target Tracking Sysyem
avr programmer how to make
audio-circuits
One transistor code lock
BLY94 50W RF Amplifier Circuit
IR remote control computer interfacing
2003 Ford: Crown Vic Acceleration (hot) sometimes instrument cluster
Simon18F
PT2102 dimming control ASIC



Top