mirror of
https://github.com/bbswitzer/PianoProject
synced 2026-10-22 01:03:05 -04:00
reset repository cause it broke
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include "lcd.h"
|
||||
|
||||
namespace SerialConstants
|
||||
{
|
||||
extern const byte NOTE_HEADER = 201;
|
||||
extern const byte SUSTAIN_HEADER = 202;
|
||||
extern const byte SETTING_HEADER = 203;
|
||||
extern const byte RESET_HEADER = 204;
|
||||
extern const byte VOLUME_HEADER = 205;
|
||||
}
|
||||
|
||||
void sendSerialToMain(byte header, byte setting, byte value)
|
||||
{
|
||||
Serial1.write(header);
|
||||
Serial1.write(setting);
|
||||
Serial1.write(value);
|
||||
}
|
||||
Reference in New Issue
Block a user