readme
来自「tinyos-2.x.rar」· 代码 · 共 33 行
TXT
33 行
README for TOSThreads TestBasicsbSensors
Author/Contact: tinyos-help@millennium.berkeley.edu
Author: Kevin Klues <klueska@cs.stanford.edu>
Description:
This application is used to test the threaded version of the API for accessing
sensors on the basicsb sensor board.
You can install TestBasicsbSensors on a mote via the following command:
make <platform> threads install
Valid platforms are currently: mica2, micaz and iris
This application simply takes sensor readings in an infinite loop from the
Photo and Temperature sensors on the basicsb sensor board and forwards them
over the serial interface. Upon successful transmission, LED0 is toggled.
A successful test will result in the TestBasicsbSensors mote constantly
flickering LED0. Additionally, messages containing the sensor readings should
be forwarded over the serial interface as verified by running the following
for the platform of interest:
java net.tinyos.tools.Listen -comm serial@/dev/ttyUSBXXX:<baud_rate>
Once this java application is running, you should see output containing the
sensor readings being streamed to your terminal.
Tools:
None.
Known bugs/limitations:
None.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?