1 Star 0 Fork 0

DFRobot/pxt-DFRobot_IoT_Cloud_Kit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
i2c.cpp 277 Bytes
一键复制 编辑 原始数据 按行查看 历史
知音少断弦有谁听t 提交于 2021-03-01 11:15 +08:00 . add
#include "pxt.h"
#include "nrf_gpio.h"
#include "pxtbase.h"
//% color=50 weight=80
//% icon="\uf1eb"
namespace i2c {
//%
void init(){
nrf_gpio_cfg(32,NRF_GPIO_PIN_DIR_INPUT,NRF_GPIO_PIN_INPUT_CONNECT,NRF_GPIO_PIN_NOPULL,NRF_GPIO_PIN_S0D1,NRF_GPIO_PIN_NOSENSE);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dfrobot/pxt-DFRobot_IoT_Cloud_Kit.git
git@gitee.com:dfrobot/pxt-DFRobot_IoT_Cloud_Kit.git
dfrobot
pxt-DFRobot_IoT_Cloud_Kit
pxt-DFRobot_IoT_Cloud_Kit
master

搜索帮助