K64F drum machine, with RAW WAV sample playback, and USB midi functionality

Dependencies:   FATFileSystem N5110_mod SDFileSystem USBDevice mbed

Auto generated API documentation and code listings for Main_code_ver18

Classes

buttons_struct # Flags, maps & variables

Code

main.cpp [code]
main.h [code] Header file containing functions prototypes, defines, and global variables

Namespaces

bool_to_int Converts boolean array to integer
Button_init # Functions
Button_scan_ISR Function called by Button_scan_tkr
Button_update Used to update the boolean flags within Buttons_struct
ButtonOut_pos Stores the current position of the ButtonOut scan, in order to select the correct value for the output from the ButtonOut_val array
ButtonOut_val Used to map the button presses on to the boolean flags
drawMenu Draws menu to LCD, and returns selected value
drawVariable Draws variable to LCD
keyMap Indicates name of button pressed
LED_buffer # Flags, maps & variables
LED_pos Stores the current position of the LED_bus scan, in order to select the correct value for the output from the LED_buffer array
LED_write Updates the values within LED_buffer to those required for the current output
selector Selects value between 0 and 7 based on step button press
Sequence_struct Generates the variables requred for a sequence
shift_LED LED above the shift button on the PCB