"PWM" problems in stm32f3dicovery

Limited support for STM32F3 based boards, e.f STM Discovery and Nucleo line
Post Reply
alexrlopez86
Posts: 1
Joined: Wed Jan 25, 2017 6:11 pm

"PWM" problems in stm32f3dicovery

Post by alexrlopez86 » Wed Jan 25, 2017 6:29 pm

When I execute codes with PWM outputs I do not get output

Example code

Code: Select all

#define LED_BUILTIN PA0
void setup() {
  pinMode(LED_BUILTIN, PWM);
}


void loop() {
  pwmWrite(LED_BUILTIN, 35535); 
  delay(1000); 
  pwmWrite(LED_BUILTIN, 0);
  delay(1000); 
}

I'm dealing with complex codes but this blocks me
Greetings, I look forward to your cooperation.

User avatar
RogerClark
Posts: 6131
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: "PWM" problems in stm32f3dicovery

Post by RogerClark » Wed Jan 25, 2017 8:37 pm

The status of the F3 core is unknown, I just incorporated it as it had been abandoned by its author.

Afik no one else uses it.

You are probably better off looking at the Koduino core for Arduino as their focus is on some F3 devices

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest