Building-Smart-Homes-with-Raspberry-Pi-Zero:Packt Publishing发行的“使用Raspberry Pi Zero构建智能家居的代码存储库”

时间:2021-05-28 08:29:17
【文件属性】:
文件名称:Building-Smart-Homes-with-Raspberry-Pi-Zero:Packt Publishing发行的“使用Raspberry Pi Zero构建智能家居的代码存储库”
文件大小:3.94MB
文件格式:ZIP
更新时间:2021-05-28 08:29:17
JavaScript 使用Raspberry Pi Zero打造智能家居 这是Packt发行的《 的代码库,其中包含从头到尾学习本书所需的所有支持项目文件。 说明和导航 所有代码都组织在文件夹中。每个文件夹均以数字开头,后跟应用程序名称。 命令和说明如下所示: var sensor = { initialize: function () { return sensorLib.initialize(11, 4); }, read: function () { var readout = sensorLib.read(); console.log('Temperature: ' + readout.temperature.toFixed(2) + 'C, ' + 'humidity: ' + readout.humidity.toFixed(2) + '%'); setTimeout(function () {

网友评论