-
By default things like Alexa integration and MQTT support are enabled.
- Board settings in Arduino IDE: Generic ESP8285 module 1M (128K SPIFFS)
<html> | |
<head> | |
</head> | |
<body> | |
<script src="https://espruino.github.io/js/puck.js"></script> | |
<script> | |
var d = new Date(); | |
var n = Math.round(d.getTime()/1000); | |
var puckCommand = "setTime(" + n + ")\n"; | |
</script> |
By default things like Alexa integration and MQTT support are enabled.
// See https://conoroneill.net/using-puck-js-with-kulight-rgb-bluetooth-lightbulb/ | |
// and https://www.espruino.com/Puck.js+and+Bluetooth+Lightbulbs | |
/* | |
On = 0x02, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
Off = 0x32, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
Red = 0x02, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
Orange = 0x02, 0xff, 0x9c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
Yellow = 0x02, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
Green = 0x02, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 |
cd C:\Users\conor | |
bash -c "./update-youtube-dl.sh" |
# get-youtube.py | |
# Wrapper around youtube-dl for Android | |
# Grabs URL from clipboard if it's a YouTube one. Otherwises prompts for URL | |
# See https://conoroneill.net/downloading-youtube-videos-for-offline-viewing-on-android/ for instructions | |
# Copyright Conor O'Neill 2018. Apache License 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt | |
from __future__ import unicode_literals | |
from androidhelper import Android | |
droid = Android() |
Principles of Adult Behavior
int ledPin = 13; | |
//led for visualization (use 13 for built-in led) | |
int speakerPin = 11; | |
//speaker connected to one of the PWM ports | |
#define c 261 | |
#define d 294 | |
#define e 329 | |
#define f 349 |
sudo apt install -y debootstrap schroot | |
cat << EOF | sudo tee /etc/schroot/chroot.d/pi64 | |
[pi64] | |
description=V3D arm64 testing | |
type=directory | |
directory=/srv/chroot/pi64 | |
users=pi | |
root-groups=root | |
profile=desktop | |
personality=linux |
name="Gesture"; | |
function gotGesture(d) { | |
print(name+"("+d.length/3+"),",d.slice().join(",")); | |
g.clear(); | |
g.setColor(1,1,1); | |
var my = g.getHeight()/2; | |
var sy = my/128; | |
var sx = g.getWidth()/(50*3); |
Hi Banglers,
We hope you've been having fun experimenting with your Bangle.js and wanted to let you know about some important updates to the software for it.
The version of software on your Bangle.js is a very early release and has been improved hugely since November. Some of you may have encountered bugs with the middle button or find that some of the newer Apps on banglejs.com/apps don't work as they should.
Updating the software will solve these issues and get you access to new apps such as early Gadgetbridge integration for Android phone notifications.