0.0.3 • Published 2 years ago

@devonho/iow_sht7x v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

iow_sht7x - Node.js module for Sensirion SHT7X with IOW158A-S

This Node module is intended for use with a Sensiron SHT7x sensor IC that is coupled with a Code Mercenaries IOW158A-S.

Prerequisites

Installation

After downloading the IO-Warrior SDK, upzip into any folder and run the following in the root folder of the SDK:

sed -i 's/IOWKIT_PID_IOW24/IOWKIT_PID_IOW24_SENSI/' ./src/iowkit.c

Then trigger the build:

./configure
make
sudo make install

It is expected that the binaries and includes go into standard locations (/usr/lib, /usr/include)

Installing module from npm registry

npm install --save @devonho/iow_sht7x

Installing module from source

Installing within Node.js project

git clone https://github.com/devonho/iow_sht7x.git
npm install ./iow_sht7x

Limitations

  • This only runs on Linux currently.

Credits