提交 870f8219 编写于 作者: L liuhy

update applications/main.c

上级 0f6a7539
......@@ -10,8 +10,9 @@
#include <rtthread.h>
#include <rtdevice.h>
#include "drv_gpio.h"
#define LED_PIN 39
#define LED_PIN GET_PIN( C , 8 )
int main(void)
{
......
......@@ -10,13 +10,14 @@
#include <rtthread.h>
#include <rtdevice.h>
#include "drv_gpio.h"
#define LED_PIN 18
#define LED_PIN GET_PIN( F , 0 )
int main(void)
{
int count = 1;
/* set PF00 pin mode to output */
/* set pin mode to output */
rt_pin_mode(LED_PIN, PIN_MODE_OUTPUT);
while (count++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册