mini project 1
- include "mbed.h" PwmOut PWM1(p21); int main() { PWM1.period(0.010); set PWM period to 10 ms PWM1=0.5; set duty cycle to 50% }
https://os.mbed.com/media/uploads/phill/mbed_course_notes_-_pulse_width_modulation.pdf
Please log in to post comments.