I hereby claim:
- I am mrichardson23 on github.
- I am mrichardson23 (https://keybase.io/mrichardson23) on keybase.
- I have a public key whose fingerprint is C9ED 98AE 8C04 747B 388B ADDF 2289 265F 4430 D5E3
To claim this, I am signing this object:
# Tkinter and GPIO together | |
from Tkinter import * | |
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(24, GPIO.OUT) | |
GPIO.output(24, GPIO.LOW) | |
def toggle(): |
import SimpleOpenNI.*; | |
SimpleOpenNI kinect; | |
PImage handImage; | |
void setup() { | |
kinect = new SimpleOpenNI(this); | |
kinect.enableDepth(); | |
kinect.enableUser(SimpleOpenNI.SKEL_PROFILE_ALL); | |
kinect.setMirror(false); |
from Tkinter import * | |
import time | |
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(17, GPIO.OUT) | |
GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) | |
def say_hi(): |
#!/usr/bin/python | |
# time module is needed for sleep function: | |
import time | |
# Open up the pins and set mode in/out | |
# TODO: Error handling | |
setupPin = file("/sys/class/gpio/export", "w") | |
setupPin.write("%d" % (38)) | |
setupPin.close() |
// Commands for Alpha Sign Communication Protocol | |
byte NUL = 0x00; | |
byte START_HEADER = 0x01; | |
byte START_TEXT = 0x02; | |
byte END_TRANSMISSION = 0x04; | |
byte ESC = 0x1B; | |
byte FILL = 0x30; | |
byte ROTATE = 0x61; | |
byte SLOW = 0x15; | |
byte FAST = 0x19; |
I hereby claim:
To claim this, I am signing this object:
[ 99%] Building CXX object tangram-es/core/CMakeFiles/core.dir/src/text/textUtil.cpp.o | |
Linking CXX static library libcore.a | |
[ 99%] Built target core | |
[ 99%] Swig source | |
Scanning dependencies of target _tangram | |
[ 99%] Building CXX object CMakeFiles/_tangram.dir/tangramPYTHON_wrap.cxx.o | |
In file included from /home/pi/tangram-py/tangram/build/tangramPYTHON_wrap.cxx:3039:0: | |
/home/pi/tangram-py/tangram/src/tangram-proxy.h:24:61: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] | |
void init(int width, int height, char * style = "scene.yaml"); | |
^ |
#!/bin/sh | |
echo "Raspi-Config steps" | |
sudo raspi-config nonint do_camera 0 | |
sudo raspi-config nonint do_i2c 0 | |
#sudo raspi-config nonint do_vnc 0 | |
echo "Updating...." | |
sleep 2 | |
sudo apt-get update |
#!/usr/bin/env bash | |
# Pi-hole: A black hole for Internet advertisements | |
# (c) 2015, 2016 by Jacob Salmela | |
# Network-wide ad blocking via your Raspberry Pi | |
# http://pi-hole.net | |
# Installs Pi-hole | |
# | |
# Pi-hole is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 2 of the License, or |
void setup() { | |
// put your setup code here, to run once: | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
Serial.println(getHours()); | |
delay(5000); | |
} |