Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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
- include <avr/io.h>
- 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?