Dependencies: FastPWM GMD_template_lib mbed
Revision 12:78fa1247aec4, committed 2016-08-25
- Comitter:
- inst
- Date:
- Thu Aug 25 00:39:37 2016 +0000
- Parent:
- 11:ebc451479857
- Child:
- 13:7fac7b2f8fae
- Commit message:
- ???????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Aug 25 00:36:12 2016 +0000 +++ b/main.cpp Thu Aug 25 00:39:37 2016 +0000 @@ -23,7 +23,7 @@ I2CSlave i2c(dp5, dp27); Timer timer; i2c.address(read_address()); - GMD<5, 95> md(dp1, dp2, dp9); // Duty比の範囲を3%~95%に制限 + GMD<5, 95> md(dp1, dp2, dp9); // Duty比の範囲を5%~95%に制限 //md.set_frequency_kHz(10.0f); もしスイッチング周波数を変更したかったらここを使う timer.start();