Python_Programmers_Guide digi
digi python开发必备必看。 Contents Purpose of this Guide.......................................................................................................... 4 What Is Python?.................................................................................................................. 4 Additional Python Documentation ..................................................................................... 4 Getting Started .................................................................................................................... 5 First Program: “Hello, World!” ...................................................................................... 5 Python Commands in the Digi Command-Line Interface .................................................. 6 python ............................................................................................................................. 6 set python........................................................................................................................ 7 Loading Python Programs onto a Digi Device ................................................................... 8 Using modulefinder.py to Determine Files to Load ....................................................... 8 Using digi_build_zip.py to Automatically Build a zip File............................................ 9 Recommended Distribution of Python Interpreter............................................................ 10 Python Module Reference................................................................................................. 10 Fully Supported Python Built-In Modules.................................................................... 10 Python Modules with Digi-Specific Behavior.............................................................. 10 os.............................................................................................................................. 11 random ...................................................................................................................... 12 re ............................................................................................................................... 12 socket ........................................................................................................................ 12 termios....................................................................................................................... 22 thread and threading.................................................................................................. 24 time ........................................................................................................................... 24 xbee_sensor............................................................................................................... 25 zigbee ........................................................................................................................ 30 File System Access ....................................................................................................... 32 Sample Programs .............................................................................................................. 33 GPS Demo .................................................................................................................... 33 Run the GPS Demo................................................................................................... 33 Files in GPS demo .................................................................................................... 34 Port Sharing Demo........................................................................................................ 36 Run the port sharing demo........................................................................................ 36
剩余44页未读,继续阅读
- 粉丝: 37
- 资源: 29
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Electron + Vue仿网易云音乐windows客户端.zip
- Dropzone.js 的 Vue.js 组件 - 带有图像预览的拖放文件上传实用程序.zip
- vue框架开发,如何在vue框架下编写代码介绍
- 移动机器人路径规划实战,入门教程实验代码
- Chart.js 的 Vue.js 包装器.zip
- BootstrapVue 为 Vue.js 提供了最全面的 Bootstrap v4 实现之一 具有广泛且自动化的 WAI-ARIA 可访问性标记 .zip
- Babel , Vue JSX 相关软件包的 monorepo.zip
- Java多线程基础学习指南:原理、实现与实战
- 西电微机原理实验:实验内容、步骤与实践指导 - 计算机科学与技术专业的教学辅助材料
- 计算机网络课程设计:选题指南与实践要点