zephyr學習筆記---CC3200---Button

zephyr上有button的示例,在【\samples\basic\button】目錄下,我做了一些修改,兩個Button都使用了,另外也加入了LED,方便調試。功能很簡單,就是在按下按鈕時向打印一段文字(可 使用串口 接收),同時切換LED燈的亮滅。 代碼如下: [cpp] view plain copy #include <zephyr.h>   #include <board.h>   #
相關文章
相關標籤/搜索