This commit is contained in:
2025-05-13 03:26:56 +03:00
parent 87a14db6f4
commit 154af64dde
563 changed files with 797817 additions and 0 deletions
@@ -0,0 +1,24 @@
/*
* uart_commands.h
*
* Created on: 02 ÿíâ. 2016 ã.
* Author: Sergey
*/
#ifndef UART_COMMANDS_H_
#define UART_COMMANDS_H_
#include <cstdint>
#include "uart_protocol.h"
struct uart_commands {
static constexpr uint32_t led_write = FOURCC('L', 'e', 'd', 'W');
static constexpr uint32_t led_read = FOURCC('L', 'e', 'd', 'R');
static constexpr uint32_t motor_write = FOURCC('M', 't', 'r', 'W');
static constexpr uint32_t play_sound = FOURCC('P', 'S', 'n', 'd');
static constexpr uint32_t acc_read = FOURCC('A', 'c', 'c', 'R');
static constexpr uint32_t gyro_read = FOURCC('G', 'r', 'o', 'R');
};
#endif /* UART_COMMANDS_H_ */