analogWrite() not working?

Hi

Just finished soldering pin headers on my PropBoard and doing some basic testing.

To get started I tried the standard “Blink” and “Fade” examples that come with the Arduino IDE (modified to use Pin 4). The Blink example works fine, but the Fade example does not (no light in the LED).

Is analogWrite() supposed to be working?

Thanks.

Frode

Hi @frodesto,

Let me check on this and get back to you.

1 Like

Hi @frodesto,

Please replace the wiring_analog.c file in the C:\Users\MyUser\AppData\Local\Arduino15\packages\artekit\hardware\stm32f4\1.0.0\cores\propboard folder (where MyUser is your Windows user name) with the one in attachment.

wiring_analog.c (6.2 KB)

1 Like

Yup, works now.

Thanks!