This is the general instructions for how to get a pebble watch to talk to an ESP8266 and turn NeoPixels different colours.
Video: https://www.youtube.com/watch?v=BeIQ47WBVXs
- Pebble watch
- ESP8266 ESP-01
This is the general instructions for how to get a pebble watch to talk to an ESP8266 and turn NeoPixels different colours.
Video: https://www.youtube.com/watch?v=BeIQ47WBVXs
This is how I got InfluxDB (last stable - 0.8.8) working on FreeBSD 9.3-RELEASE-p9
First make sure sed resolves to gsed, than you don't have to patch that many files .. I solved it this way:
mkdir ~/bin
ln -sf /usr/local/bin/gsed ~/bin/sed
export PATH=~/bin:$PATH
Install required pkgs, setup env and download source.
import numpy as np | |
def func(t): | |
if (t > 0.008856): | |
return np.power(t, 1/3.0); | |
else: | |
return 7.787 * t + 16 / 116.0; | |
#Conversion Matrix | |
matrix = [[0.412453, 0.357580, 0.180423], |
This diff is a modified version of a diff written by Arnis Lapsa. | |
[ The original can be found here: https://gist.github.com/ArnisL/6156593 ] | |
This diff adds support to tmux for 24-bit color CSI SRG sequences. This | |
allows terminal based programs that take advantage of it (e.g., vim or | |
emacs with https://gist.github.com/choppsv1/73d51cedd3e8ec72e1c1 patch) | |
to display 16 million colors while running in tmux. | |
The primary change I made was to support ":" as a delimeter as well |
""" | |
Tested on Linux with python 3.7 | |
Must have portaudio installed (e.g. dnf install portaudio-devel) | |
pip install pyqtgraph pyaudio PyQt5 | |
""" | |
import numpy as np | |
import pyqtgraph as pg | |
import pyaudio | |
from PyQt5 import QtCore, QtGui |
Too early to tell whther this solved my problem but recording for posterity anyway. In theory this will stop my Raspberry Pi from dropping off the network after it has been idle for a while.
pi@dashboard ~ $ iwconfig
wlan0 IEEE 802.11bgn ESSID:"Professor Ping"
Mode:Managed Frequency:2.437 GHz Access Point: B8:E6:25:9B:62:02
Bit Rate=39 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
# Makefile for programming the ATtiny85 | |
# modified the one generated by CrossPack | |
DEVICE = attiny85 | |
CLOCK = 8000000 | |
PROGRAMMER = -c usbtiny | |
OBJECTS = main.o | |
# for ATTiny85 | |
# see http://www.engbedded.com/fusecalc/ | |
FUSES = -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m |
#ifndef _STRING_STREAM_H_INCLUDED_ | |
#define _STRING_STREAM_H_INCLUDED_ | |
#include <Stream.h> | |
class StringStream : public Stream | |
{ | |
public: | |
StringStream(const String &s) : string(s), position(0) { } |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
This playbook has been removed as it is now very outdated. |