Skip to content

Instantly share code, notes, and snippets.

View AlexAti's full-sized avatar

Alex Ati AlexAti

View GitHub Profile
@AlexAti
AlexAti / mcp3008.py
Last active May 21, 2017 20:19 — forked from ladyada/adafruit_mcp3008.py
C.H.I.P. Computer Analog Input with MCP3008
#!/usr/bin/env python3
# Adapted for CHIP Computer and Python3 from Limor "Ladyada" Fried for Adafruit Industries, (c) 2015
# This code is released into the public domain
import time
import os
import CHIP_IO.GPIO as GPIO
DEBUG = 1