I'm trying to learn stm32cube framework :sadge:

This commit is contained in:
2025-12-06 22:56:56 +01:00
parent 5a67e90143
commit 2d564b2670
11 changed files with 60678 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
// #include <Arduino.h>
#include <stm32f1xx_hal.h>
#define PIN_SERIAL3_RX PB11
#define PIN_SERIAL3_TX PB10
// UART2 (PA3 = RX, PA2 = TX)
HardwareSerial Serial1(PA10, PA9);
// HardwareSerial sigma(PA9, )
void setup() {
Serial1.begin(38400);
}
void loop() {
Serial1.write("skibidi");
delay(5000); // wait before next loop
}