我们现在开始使用app_button,为什么要使用这个来替代直接使用GPIOTE呢? 因为我们在手册中可以看到如果一直开启GPIOTE in模式的需要需要很大电流。所以我们需要使用RTC来“周期”的查询。 马上上代码 需要注意的是app_button底层 ...
本教程基于nRF SDK . . dc b e examples ble peripheral ble app uart工程 本教程主要是演示 现在演示通过nus来修改ADV中maufacturer data,在disconnect后我们可以看到广播中maufacturer data更新为我们在nus中配置的 在工程增加新代码 修改工程原来的代码 ...
2016-04-07 15:16 0 3010 推荐指数:
我们现在开始使用app_button,为什么要使用这个来替代直接使用GPIOTE呢? 因为我们在手册中可以看到如果一直开启GPIOTE in模式的需要需要很大电流。所以我们需要使用RTC来“周期”的查询。 马上上代码 需要注意的是app_button底层 ...
现在我们对spi_write_reg(uint8_t ucRegAddr, uint8_t ucRegVal)进行测试 更据我们的代码在Saleae L ...
;stdbool.h>#include <stdint.h>#include "nrf_delay.h"#i ...
Persistent Storage Manager This information applies to the following ...
设置蓝牙的TX Power 使用的函数sd_ble_gap_tx_power_set(int8_t tx_power); 参看例子为 S110/ble_app_proximity ...
看门狗定时器 NRF51822 的看门狗定时器是倒计数器, 当计数值减少到 0 时产生 TIMEOUT 事件。 通过 START task 来启动看门狗定时器。 看门狗定时器启动时,如没有其他 32.768KHz 时钟源提供时钟,看门狗定时器会强制打开 32.768KHz RC ...
演示的工程是 [application] nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu [bootload ...
nRF51822学习之SWD接线及配置 *:first-child { margin-top: 0 !important; } body>*:last-child { margin-bottom: 0 !important; } /* BLOCKS ================================================================== ...