- Fixed drawing of round objects (Circles, Rounded Rects) using a lookup table
- Added function to read out the display_buffer via USB-Serial - Added basic structure and files for later complete firmware (still in progress) - Added Doc folder with schematic in it - Added Python script and batch file to read out the display buffer and open the image in gimp
This commit is contained in:
37
Firmware/MIDI_Note_List.h
Normal file
37
Firmware/MIDI_Note_List.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* MIDI_Note_List.h
|
||||
*
|
||||
* Created: Sat Jan 15 2022 16:13:47
|
||||
* Author Chris
|
||||
*/
|
||||
#ifndef MIDI_NOTE_LIST_H_
|
||||
#define MIDI_NOTE_LIST_H_
|
||||
|
||||
// ============================================================================================
|
||||
// Includes
|
||||
#include <stdint.h>
|
||||
|
||||
#include "pico/types.h"
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Defines
|
||||
#define MIDI_NOTE_LIST_LENGTH 128
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Datatypes
|
||||
typedef struct
|
||||
{
|
||||
char Tone_Name[2];
|
||||
int8_t Octave;
|
||||
float Frequency;
|
||||
} Note_Entry_s;
|
||||
|
||||
extern const Note_Entry_s _MIDI_Note_List[MIDI_NOTE_LIST_LENGTH];
|
||||
|
||||
// ============================================================================================
|
||||
// Function Declarations
|
||||
|
||||
|
||||
#endif /* MIDI_NOTE_LIST_H_ */
|
||||
Reference in New Issue
Block a user