Files
ip2-wireless-mcu-code/main/peripherals/usb_serial.h
T
2026-09-28 11:39:34 +02:00

22 lines
351 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 {
void write(const char* byte, int len);
int read(char* byte,int len);
void write_byte(char* byte);
int read_byte(char* byte);
void init();
};
#endif //MCU_CODE_USB_SERIAL_H