9 years, 2 months ago.

how to convert arduino code to mbed library?

/media/uploads/AhJie/motordriver_4wd_dfs.h /media/uploads/AhJie/motordriver_4wd.h /media/uploads/AhJie/motordriver_4wd.cpp /media/uploads/AhJie/seeed_pwm.h /media/uploads/AhJie/seeed_pwm.cpp

my arduino code

I stuck at the part for

  1. include <avr/io.h>
  2. include <avr/interrupt.h>

1 Answer

8 years, 10 months ago.

include "mbed.h"

That library is creating a PWM output. The mbed library already has PWM outputs so why not use that instead of porting a library to manually create one?

Accepted Answer