Skip to content

Instantly share code, notes, and snippets.

#include <Wire.h>
#include "SSD1306.h"
int asap = 2;
int sensorThres = 400;
SSD1306 display(0x3c, 21, 22);
void setup() {
Serial.begin(9600);
#if 0
#include <SPI.h>
#include <PN532_SPI.h>
#include "PN532.h"
PN532_SPI pn532spi(SPI, 10);
PN532 nfc(pn532spi);
/* When the number after #elif set as 1, it will be switch to HSU Mode*/
#elif 0