/* STM32 Blue Pill project using the STM32 Arduino Core (stm32duino) */
#define PWMA PB5
void setup() {
Serial.begin(115200);
pinMode(PWMA, OUTPUT);
}
void loop() {
analogWrite(PWMA, 10);
}
Loading
stm32-bluepill
stm32-bluepill
/* STM32 Blue Pill project using the STM32 Arduino Core (stm32duino) */
#define PWMA PB5
void setup() {
Serial.begin(115200);
pinMode(PWMA, OUTPUT);
}
void loop() {
analogWrite(PWMA, 10);
}