Skip to content

Instantly share code, notes, and snippets.

@WestonReed
WestonReed / color_data.py
Created March 27, 2018 23:54
Color data collector for ev3
#!/usr/bin/python3
from ev3dev.ev3 import *
import csv
import time
cl = ColorSensor()
cl.mode='RGB-RAW'

Keybase proof

I hereby claim:

  • I am WestonReed on github.
  • I am westonreed (https://keybase.io/westonreed) on keybase.
  • I have a public key whose fingerprint is B369 6A4B 2017 8226 9C8F F34D 799E 755B F77A 6C3A

To claim this, I am signing this object:

@WestonReed
WestonReed / datacollection_excel.py
Created May 18, 2017 15:35
Data Collection Python Script for Excel Files
#Libraries#
from sense_hat import SenseHat
from datetime import datetime
import time
#Settings#
FILENAME = ""
WRITE_FREQUENCY = 50
#Functions#
@WestonReed
WestonReed / datacollection.py
Last active March 27, 2018 23:59
Data Collection Python Script for Raspberry Pi with Sense Hat
#!/usr/bin/python3
from ev3dev.ev3 import *
import csv
import time
filename = input('Enter a name for the file: ')
filename = filename+".csv"
cl = ColorSensor()
@WestonReed
WestonReed / OneName Verification
Created February 15, 2017 03:06
Verification for onename.com
Verifying that "westonreed.id" is my Blockstack ID. https://onename.com/westonreed