This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266mDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
#include <PubSubClient.h> | |
#include <Adafruit_NeoPixel.h> | |
#define PIN D8 | |
Adafruit_NeoPixel strip = Adafruit_NeoPixel(6, PIN, NEO_GRB + NEO_KHZ800); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pulseaudio --kill | |
pulseaudio --start | |
cd samples/companionService | |
nohup npm start& | |
cd ../javaclient | |
killall Xvfb | |
nohup Xvfb :1 -screen 0 800x600x16& |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script will download, set up, compile QT5, and set up the SDCard image ready to use. | |
#Pass -h to use https for git | |
OPT=~/opt | |
CC=$OPT/gcc-4.7-linaro-rpi-gnueabihf | |
CCT=$OPT/cross-compile-tools | |
MOUNT=/mnt/rasp-pi-rootfs | |
QTBASE=$OPT/qt5 |