参数资料
型号: EK2100
厂商: Synapse Wireless
文件页数: 47/53页
文件大小: 0K
描述: KIT STARTER SNAP PRO
标准包装: 1
系列: SNAP™ Network
类型: 网状网络
频率: 2.4GHz
适用于相关产品: SNAP? 网络
已供物品: 板,模块,电池,文档,电源
其它名称: 746-1019
Name set to “Buzz”) is still running the “ManyMeter” script. Click on the node.
Switch to the Node Info pane and click the script name next to the Device Image heading.
This will bring up the SNAPpy script for editing within the Portal environment. (An
alternative for opening the script is to use the Open File… command from the File menu.)
Step 3 – Edit the SNAPpy script:
The original script is read-only. So, Click on the ‘ Save As ’ icon
and save a copy of
the file with the new name “ManyMeterPlus.py”.
Find the line of code with the comment “EDIT NEXT LINE”. The very next line is in
fact a call to the rpc() function and has been commented out (Python comments start with
the ‘#’ character). We have cause to use it now, so let’s un-comment it.
Original Code:
# EDIT NEXT LINE: This is special code to call into the wxPython functionality of Portal
#rpc(portalAddr,"DisplayData",photoVal,"Dark Meter",loadNvParam(NV_DEVICE_NAME_ID))
Delete the single ‘#’ character from the beginning of the line.
Modified Code:
# EDIT NEXT LINE: This is special code to call into the wxPython functionality of Portal
rpc(portalAddr,"DisplayData",photoVal,"Dark Meter",loadNvParam(NV_DEVICE_NAME_ID))
Repeat this process for the other 2 lines (for a total of 3 lines) with the same comment.
Save your work by clicking on the ‘Save’ icon
in the toolbar.
Step 4 – Upload your brand new script, “ManyMeterPlus.py”, to the Proto Board node
(device name set to “Buzz”).
You should now see a separate window on your computer screen that displays the current
sensor readings in a graphical form.
To get true ‘darkness’ readings you will need to calibrate the light sensor once again by
holding your finger over the sensor head for a second or two.
EK2100 Users Guide-v1.5
Page 47
of 53
相关PDF资料
PDF描述
EK2400 EVALUATION KIT W/INTERNET CTRL
EK2505 EVAL KIT FOR SNAP MESH NETWORKNG
EK4150-01 EVAL KIT FOR 4150
EK42440-01 KIT EVAL FOR 42440 RF SWITCH
EK42451-01 KIT EVAL FOR 42451 RF SWITCH
相关代理商/技术参数
参数描述
EK2100-220 功能描述:SNAP EVALUATORS KIT 制造商:synapse wireless 系列:SNAP? Network 零件状态:在售 类型:收发器,SNAP 频率:- 配套使用产品/相关产品:RF220, SN132, SN171 所含物品:4 个板,配件 标准包装:1
EK21011 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For
EK21012 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For
EK210-12 制造商:Greenlee Textron Inc 功能描述:
EK21022 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For