|
@@ -5,20 +5,20 @@
|
|
|
*
|
|
|
* Change Logs:
|
|
|
* Date Author Notes
|
|
|
- * 2020-03-14 super_mcu first version
|
|
|
+ * 2020-03-14 super_mcu first version
|
|
|
*/
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
#include <rtdevice.h>
|
|
|
#include <board.h>
|
|
|
|
|
|
-/* defined the LED0 pin: PE7 */
|
|
|
+/* defined the LED2 pin: PB7 */
|
|
|
#define LED2_PIN GET_PIN(B, 7)
|
|
|
|
|
|
int main(void)
|
|
|
{
|
|
|
int count = 1;
|
|
|
- /* set LED0 pin mode to output */
|
|
|
+ /* set LED2 pin mode to output */
|
|
|
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);
|
|
|
|
|
|
while (count++)
|