This file contains 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
# find things like this { | |
# other stuff | |
# } | |
\w+.*\{\s*$ |
This file contains 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
# read temperature from DS18B20 | |
# https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/hardware | |
# TODO command line args for time to run/num iterations | |
# TODO command line args for output file | |
# TODO run this on startup so I can run it with no network connection | |
import re | |
import datetime | |
import os |
This file contains 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
#!/usr/bin/env python | |
# coding=utf-8 | |
# | |
# Based on https://github.com/UnravelTEC/Raspi-Driver-SCD30 | |
# Copyright © 2018 UnravelTEC | |
# Michael Maier <michael.maier+github@unraveltec.com> | |
# | |
# This program 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 3 of the License, or |
OlderNewer