Synth with C64 like sounds. Played on two piezo buzzers with a PS/2 keyboard. Implemented on FRDM-KL46Z
Dependencies: PS2 TSI beep2 mbed
keys.h
- Committer:
- alexanderh
- Date:
- 2014-01-24
- Revision:
- 0:00eec4d97228
- Child:
- 4:0f73a5d06177
File content as of revision 0:00eec4d97228:
//Modifiers #define Break_fn 0xf0 #define Mod_fn 0xe0 //Row1 #define A_key (0x1c) #define S_key (0x1b) #define D_key (0x23) #define F_key (0x2b) #define G_key (0x34) #define H_key (0x33) #define J_key (0x3b) #define K_key (0x42) #define L_key (0x4b) #define OE_key (0x4c) #define AE_key (0x52) //Row2 #define Q_key (0x15) #define W_key (0x1d) #define E_key (0x24) #define R_key (0x2d) #define T_key (0x2c) #define Y_key (0x35) #define U_key (0x3c) #define I_key (0x43) #define O_key (0x44) #define P_key (0x4d) #define AO_key (0x54) //Row3 #define Z_key (0x1a) #define X_key (0x22) #define C_key (0x21) #define V_key (0x2a) #define B_key (0x32) #define N_key (0x31) #define M_key (0x3a) #define Comma_key (0x41) #define Period_key (0x49) //arrow keys #define Left_key (0x6b) #define Right_key (0x74) #define Up_key (0x75) #define Down_key (0x72) //Function keys #define Pgup_key (0x7d) #define Pgdown_key (0x7a) #define End_key (0x69) #define Minus_key (0x4e) #define Plus_key (0x55) #define Space_key (0x29)