Skip to content

Instantly share code, notes, and snippets.

@KorkyraBoyCRO
KorkyraBoyCRO / ancs_serial_monitor.ino
Last active August 29, 2019 06:32
ANCS ON SERIAL MONITOR
#include <lib_aci.h>
#include <SPI.h>
#include <EEPROM.h>
#include <notif.h>
Notif notif(10,2);
ancs_notification_t* current_notif = NULL;
@KorkyraBoyCRO
KorkyraBoyCRO / ancsWatch.ino
Last active August 29, 2019 06:02
ancs with display
// Import libraries (BLEPeripheral depends on SPI)
#include <SPI.h>
#include <BLEPeripheral.h>
#include <Adafruit_SH1106.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
//Uncomment this block to use hardware SPI
#define OLED_DC 6
#define OLED_CS 7