提交 c55c964b 编写于 作者: kai.RD's avatar kai.RD

解决 LED0 OR LED2

上级 3ac58b85
......@@ -12,12 +12,12 @@
#include <rtdevice.h>
#include <board.h>
/* defined the LED0 pin: PC0 */
/* defined the LED2 pin: PE6 */
#define LED2_PIN GET_PIN(E, 6)
int main(void)
{
/* set LED0 pin mode to output */
/* set LED2 pin mode to output */
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);
while (1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册