Skip to content

Instantly share code, notes, and snippets.

View waldo323's full-sized avatar

James H. waldo323

View GitHub Profile
@waldo323
waldo323 / joyfully_recording_gps.py
Last active June 4, 2018 18:35
pothole or other points of interest tracker with a feather joywing, gps module, sdcard writer, and an m4 board (work in progress)
import time
import board
import busio
import adafruit_gps
import adafruit_pcf8523
import adafruit_seesaw.seesaw
import digitalio
import adafruit_sdcard
import storage
import neopixel
@waldo323
waldo323 / main.py
Last active July 10, 2018 02:35
clicking a button attached to pin 7 sends space character, used with photo booth software to signal to take a picture.
# Itsy Bitsy M0 Express spacebar button
# With CircuitPython 3.0
import board
import gc
import time
from digitalio import DigitalInOut, Direction, Pull
import adafruit_dotstar
import board
import busio
import adafruit_pcf8523
import time
import digitalio
import adafruit_sdcard
import storage
myI2C = busio.I2C(board.SCL, board.SDA)
rtc = adafruit_pcf8523.PCF8523(myI2C)
@waldo323
waldo323 / range_list.py
Created August 22, 2017 02:13
how to get a range of values into a list
list(range(10))
'''[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]'''
list(range(5,10))
'''[5, 6, 7, 8, 9]'''

Keybase proof

I hereby claim:

  • I am waldo323 on github.
  • I am jameshice (https://keybase.io/jameshice) on keybase.
  • I have a public key whose fingerprint is BD40 433E A413 2AC6 8341 9741 27E1 E537 1AE5 C87C

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am waldo323 on github.
  • I am jameshice (https://keybase.io/jameshice) on keybase.
  • I have a public key ASADqU2jPCHT_kuwnIuRqe0z6jvMfkaZDk2-q3rAFM2b7Qo

To claim this, I am signing this object: