Added usb serial
This commit is contained in:
+17
-1
@@ -1,4 +1,20 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "peripherals/usb_serial.h"
|
||||
|
||||
///
|
||||
/// So i lost all the code from the previous version of this due to messing with git.
|
||||
/// I only have a binary file to flash onto the esp for that
|
||||
/// so this is my attempt at reimplementation asap
|
||||
///
|
||||
/// Nicholas - 23/08/2026 @ 21:36
|
||||
///
|
||||
|
||||
const char* test = "amai zeg";
|
||||
|
||||
|
||||
extern "C" void app_main(void)
|
||||
{
|
||||
|
||||
usb_serial::init();
|
||||
usb_serial::write(test,strlen(test));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user