Skip to content

Instantly share code, notes, and snippets.

View aitorhh's full-sized avatar

Aitor aitorhh

  • Stockholm, Sweden
View GitHub Profile
@aitorhh
aitorhh / imu_ble.ino
Last active April 27, 2017 14:58
CurieIMU and CurieBLE for Arduino with js test
#include <CurieBLE.h>
#include <CurieIMU.h>
#include <CurieTimerOne.h>
#include <stdint.h>
#define CURETIMER_USED 1
#define NOINTERRUPTS 1
int SAMPLE_RATE = 100; //25, 50, 100, 200, 400, 800, 1600 Hz