Skip to content

Instantly share code, notes, and snippets.

View JasXSL's full-sized avatar

Jasdac JasXSL

View GitHub Profile
@JasXSL
JasXSL / VibHub-HTML-Demo.html
Last active February 23, 2018 17:59
This HTML file will let you control all 4 ports of a VibHub device via sliders. Just download and run in a browser, no server needed!
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Demo App</title>
<!-- jQuery is not needed, but I like to use it -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js"></script>
@JasXSL
JasXSL / SampleServer_authentication_passkey.cpp
Last active October 9, 2018 01:33
Updated to run off of one file and compileable with arduino.
/*
* SampleServer_authentication_passkey.cpp
*
* Created on: Dec 23, 2017
* Author: chegewara
*/
/**
* Create a new BLE server.
*/
#include <tinyNeoPixel_Static.h>
#include <Wire.h>
#include <SPI.h>
#define __AVR__
#include <Adafruit_LIS3DH.h>
#include <Adafruit_Sensor.h>
Adafruit_LIS3DH lis = Adafruit_LIS3DH();