MATSU-bed(LPC1549)でPWMを4つ以上出すプログラム
Dependents: servo_controller_1549
Diff: pwm_all_api.cpp
- Revision:
- 6:f9e8b982516e
- Parent:
- 5:88243d59b4df
diff -r 88243d59b4df -r f9e8b982516e pwm_all_api.cpp --- a/pwm_all_api.cpp Mon Mar 12 08:50:47 2018 +0000 +++ b/pwm_all_api.cpp Thu Mar 15 09:09:59 2018 +0000 @@ -42,7 +42,6 @@ case P0_0: case P0_1: case P0_5: - case P0_6: case P0_7: case P0_8: case P0_18: @@ -57,9 +56,9 @@ case P0_20: return (LPC_SCT0_Type*)LPC_SCT1; - case P0_13: case P0_6: case P0_12: + case P0_13: case P0_25: return (LPC_SCT0_Type*)LPC_SCT2; @@ -76,7 +75,6 @@ case P0_0: case P0_1: case P0_5: - case P0_6: case P0_7: case P0_8: case P0_18: @@ -91,9 +89,9 @@ case P0_20: return 1; - case P0_13: case P0_6: case P0_12: + case P0_13: case P0_25: return 2;