Skip to content

Instantly share code, notes, and snippets.

View sandeepmistry's full-sized avatar

Sandeep Mistry sandeepmistry

View GitHub Profile
@sandeepmistry
sandeepmistry / led_callback_nRF51822_low_power.ino
Last active November 19, 2023 21:55
BLEPeripheral nRF51822 - Low Power (Interrupt) Example
// Import libraries (BLEPeripheral depends on SPI)
#include <SPI.h>
#include <BLEPeripheral.h>
// define pins (varies per shield/board)
#define BLE_REQ 10
#define BLE_RDY 2
#define BLE_RST 9
// LED pin