循環分爲for、while、跟do。。。while循環
1.for循環
上面i不能定義爲float。(循環中更新的變量不能定義爲float)
2.while循環
迴文數例子。
- do …while
循環分爲for、while、跟do。。。while循環
1.for循環
上面i不能定義爲float。(循環中更新的變量不能定義爲float)
2.while循環
迴文數例子。
說明: 以下介紹示例的MCU地址空間如下: ROM空間爲:0x0000 0000 – 0x0000 8000 RAM空間爲:0x2000 0000 – 0x2000 2000
STM32中enumeration特殊使用方法 定義如下: /*! * STM32 Pin Names */ #define MCU