Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DirectSPI FastPWM
Diff: port_setting.txt
- Revision:
- 3:ee1947a6e0a4
- Child:
- 14:c87938f5ab01
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/port_setting.txt Tue Jan 15 14:45:22 2019 +0000 @@ -0,0 +1,23 @@ +### Button SW PC13 +### LED indicator PB10 +### TEST PORT ### +#define TEST_PORT PA_8 # D7 + +### USART1 ### +# PA2 ------> USART2_TX +# PA3 ------> USART2_RX + +### PWM With TIM3 ### +// Use PWM3-1,PWM3-2 with TIM3 +#define PWM_PORT_LEFT_HI PB_5 // TIM3_CH2 +#define PWM_PORT_RIGHT_HI PB_4 // TIM3_CH1 + +// Use PWM3-3,PWM3-4 with TIM3 +#define PWM_PORT_LEFT_LOW PC_9 // TIM3_CH4 +#define PWM_PORT_RIGHT_LOW PC_8 // TIM3_CH3 + +### SPI1 ### +# PB6(CS) chip select port +# PA5(SCK) +# PA6(MISO) +# PA7(MOSI)