Artifact 77dc52441e65fc566daffa641958523d38e596ee:
Wiki page
[
jeebmp] by
schelte
2014-03-19 23:05:31.
D 2014-03-19T23:05:31.221
L jeebmp
U schelte
W 879
<h1>The jeebmp command</h1>
<hr>
<h2>Synopsis</h2>
<b>package require jeebmp</b>
<b>jeebmp</b> <i>subcommand</i> ?<i>arg ...</i>?
<hr>
<h2>Description</h2>
The <b>jeebmp</b> command lets you interact with BMP085 based devices, like the jeelabs pressure plug. The legal values of <i>subcommand</i> are listed below. Note that you can abbreviate the <i>subcommand</i>s.
<dl>
<dt><b>jeebmp pressureplug</b> <i>bus</i>
<dd>Open a channel to a jeelabs pressure plug. The command returns the channel handle.
<dt><b>jeebmp measure</b> <i>handle</i> ?<i>resolution</i>?
<dd>Triggers the device to perform a temperature and pressure measurement. The resolution is a value from 0 to 3, where 3 produces the highest resolution (this is the default). Higher resolutions require more time. The command returns a dict with a temperature and a pressure value.
</dl>
Z 9a338669753541da56085b1182d537b2