Either provision a radiodan from scratch using:
https://github.com/radiodan/provision
If you already have a provisioned radiodan, run the following commands to update the software:
// Turn LED straight on, no transition | |
powerLED.change({ | |
colour: [255, 255, 255] | |
}); | |
rgb.on() | |
rgb.colour([255, 255, 255]) | |
rgb.off() | |
// Fade LED on rather than just |
var xhr = (function () { | |
'use strict'; | |
// xhr.get(), xhr.post() convenience methods | |
['get', 'post', 'put', 'delete'].forEach(function (method) { | |
request[method] = requestWithMethod(method); | |
}); | |
function requestWithMethod(method) { | |
return function (url, params) { |
import pifacecad | |
import string | |
# Create object | |
cad = pifacecad.PiFaceCAD() | |
cad.lcd.backlight_on() | |
# Config | |
code_length = 8 | |
characters = list(string.digits + string.ascii_lowercase) |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
var wpi = require('./build/Release/wiringPi'); | |
wpi.wiringPiSetup(); | |
var colour = [255, 255, 0]; | |
var pins = [0, 2, 3 ]; | |
pins.forEach(createPwmPin); |
pi@raspberrypi ~/bluez-5.11 $ cat config.log | |
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by bluez configure 5.11, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --disable-systemd | |
## --------- ## |
Speaker images for Solidcon proposal
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The Pips</title> | |
</head> | |
<body> | |
<button onclick="pips()">The Pips</button> | |
<script src="pips.js"></script> | |
</body> |