Skip to content

Instantly share code, notes, and snippets.

@mbeelman
mbeelman / Adafruit_DHT.c
Last active December 26, 2015 15:39
Test Soource to find problem with Raspberry PI and DHT 22
// How to access GPIO registers from C-code on the Raspberry-Pi
// Example program
// 15-January-2012
// Dom and Gert
//
// Access from ARM Running Linux
#define BCM2708_PERI_BASE 0x20000000