Skip to content

Instantly share code, notes, and snippets.

Hier die Schritte zum Installieren/Compilieren:
0- Download
http://www.cygwin.com/
Download > Richtige Version (meist 64 Bit)
https://cygwin.com/setup-x86.exe
Dann kann schon mal mit SChritt (1) gestartet werden.
http://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/
@geoffwatts
geoffwatts / sds011.py
Created January 25, 2016 22:57
Read an SDS011 Laser PM2.5 Sensor (Nova PM Sensor) with Python
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import serial, time, struct
ser = serial.Serial()
ser.port = "/dev/cu.wchusbserial1410" # Set this to your serial port
ser.baudrate = 9600
ser.open()
@kadamski
kadamski / sds011
Last active March 31, 2024 02:03
SDS011 dust sensor reading
#!/usr/bin/python
# coding=utf-8
# "DATASHEET": http://cl.ly/ekot
from __future__ import print_function
import serial, struct, sys, time
DEBUG = 1
CMD_MODE = 2
CMD_QUERY_DATA = 4
CMD_DEVICE_ID = 5
@pletchm
pletchm / Xarray Example Cheatsheet.ipynb
Last active August 25, 2024 12:58
Xarray Example Cheatsheet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.