internet-of-wild-things:spark.io 在 REST pub sub mash up 中遇到节点-源码

上传者: 42104906 | 上传时间: 2021-07-01 17:03:51 | 文件大小: 77KB | 文件类型: ZIP
野生物联网 该项目支持The Internet of Wild Thing课程。 该课程的目标是教没有电子或编程经验的学生如何开始将互联网与现实世界相结合。 通过使用和 ,学生可以组合电子元件、配置网络界面,并使现实世界和网络事件协同工作。 固件生成 固件是通过用户界面根据引脚选择生成的。 按Save and Bootload将生成一个新文件,将其上传到正确的 spark core,并触发 core reset。 我目前的代码生成方法有点草率,可能可以改进。 查看duino/template.ino以查看原型文件。 设置引脚状态 生成的代码有一个 API 端点setState ,可以通过访问它,并且可用于明确设置为输入的每个引脚。 curl https://api.spark.io/v1/devices/{deviceId}/setState \ -d access_token={a

文件下载

资源详情

[{"title":"( 30 个子文件 77KB ) internet-of-wild-things:spark.io 在 REST pub sub mash up 中遇到节点-源码","children":[{"title":"internet-of-wild-things-master","children":[{"title":"index.js <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"duino","children":[{"title":"template.ino <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"generated","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package.json <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"Procfile <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"views","children":[{"title":"index.jade <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"_nav.jade <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"control-outputs.jade <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"layout.jade <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"core.jade <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"watch-inputs.jade <span style='color:#111;'> 1014B </span>","children":null,"spread":false},{"title":"webhooks.jade <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"default_core_record.json <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"app.css <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"vendor","children":[{"title":"jquery.min.js <span style='color:#111;'> 81.69KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 97.62KB </span>","children":null,"spread":false},{"title":"bootstrap-theme.min.css <span style='color:#111;'> 12.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"page-webhooks.js <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"page-core.js <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"logo.jpg <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false},{"title":"page-watch-inputs.js <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"page-control-outputs.js <span style='color:#111;'> 987B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"sockets.js <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"routes.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"spark-model.js <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"spark-core.js <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"bootloader.js <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"cores.js <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明