Skip to content

jmp407/Nam2302Tst

Repository files navigation

node-am2302

A working repository for testing this module for node.js. This is a wrapped version of am2302.cc using node.gyp It also requires wiringPi. I wanted to make it work with googlecreativelab/coder but have not been successful yet.

jmp

Script descriptions: test4.js //tried this in coder but kept hanging, but it does read the DHT22 when node is run as root on the console.

Useful Raspberry Pi console files: /proc/meminfo history file? Useful Raspberry Pi console clues:

You are in a nodejs instance (cp? correct phrasing?) Useful Raspberry Pi console commands: history

cat /proc/meminfo

MemTotal:         234968 kB
MemFree:           56840 kB
..

How to log data to a file: http://stackoverflow.com/questions/2496710/writing-files-in-nodejs and scroll down for links to node.js

How to POST input to the main routines. Handling Post Requests http://blog.thekfactor.info/posts/an-introduction-to-node-js-and-handling-post-requests/

About

Test scripts for reading and manipulating the DHT22 data

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors