Skip to content

Instantly share code, notes, and snippets.

#define PIN01 9
#define PIN02 8
#define PIN03 7
#define PIN04 6
#define PIN05 5
#define PIN06 4
#define PIN07 3
#define PIN08 2
#define PIN09 11
package main
import (
"bufio"
"fmt"
"io"
"log"
"os"
"strings"
// Basic demo for accelerometer readings from Adafruit MPU6050
#include <Adafruit_MPU6050.h>
#include <Wire.h>
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include "driver/pcnt.h"