2026-08-23 22:36:24 +02:00

22 lines
386 B
C++

//
// Created by nano on 8/23/26.
//
#ifndef MCU_CODE_USB_SERIAL_H
#define MCU_CODE_USB_SERIAL_H
#define USB_BUFFER_SIZE 1024
#include <cstdint>
namespace usb_serial {
static void write(const char* byte, int len);
static int read(char* byte,int len);
static void write_byte(char* byte);
static int read_byte(char* byte);
static void init();
};
#endif //MCU_CODE_USB_SERIAL_H