mirror of
https://github.com/erik-toth/audio-synth.git
synced 2025-12-06 11:20:02 +00:00
Software Upload 1
Erste Funktionen zur Firmware erstellt. Keyboard auslesen im Warteschlangen Prinzip. Test-Programm mit 3x4-Matrix Tastatur
This commit is contained in:
29
dev/digital/Firmware_TEST/include/FIRMWARE_DEF.h
Normal file
29
dev/digital/Firmware_TEST/include/FIRMWARE_DEF.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
@file: FIRMARE_DEF.h
|
||||
@author: Erik Tóth
|
||||
@contact: etoth@tsn.at
|
||||
@date: 2025-10-26
|
||||
@brief: Header for constant definitions
|
||||
*/
|
||||
|
||||
#ifndef FIRMWARE_DEF_H
|
||||
#define FIRMWARE_DEF_H
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
// CONSTANTS DEFINITONS
|
||||
#define N_KEYBOARD_ROW 4
|
||||
#define N_KEYBOARD_COL 3
|
||||
#define BAUDRATE 115200
|
||||
// PIN DEFENTITIONS
|
||||
// I2C PINS
|
||||
#define PIN_SDA 15
|
||||
#define PIN_SCL 16
|
||||
// KEYBOARD PINS
|
||||
#define PIN_K_R0 7
|
||||
#define PIN_K_R1 8
|
||||
#define PIN_K_R2 9
|
||||
#define PIN_K_R3 10
|
||||
#define PIN_K_C0 1
|
||||
#define PIN_K_C1 2
|
||||
#define PIN_K_C2 4
|
||||
#endif
|
||||
Reference in New Issue
Block a user