This relies on the jp2a JPEG to ASCII tool and the Windows print utility.
This file contains hidden or 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
// 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 |
This file contains hidden or 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
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) { |
This file contains hidden or 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
import pifacecad | |
import string | |
# Create object | |
cad = pifacecad.PiFaceCAD() | |
cad.lcd.backlight_on() | |
# Config | |
code_length = 8 | |
characters = list(string.digits + string.ascii_lowercase) |
This file contains hidden or 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
<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; |
This file contains hidden or 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
var wpi = require('./build/Release/wiringPi'); | |
wpi.wiringPiSetup(); | |
var colour = [255, 255, 0]; | |
var pins = [0, 2, 3 ]; | |
pins.forEach(createPwmPin); |
This file contains hidden or 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
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