raspi_iot:統合テスト
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
raspi_iot:統合テスト [2019/03/30 16:40] – hirohito | raspi_iot:統合テスト [2019/03/30 16:42] – [ノード機にデータ送信機能を追加] hirohito | ||
---|---|---|---|
行 16: | 行 16: | ||
data = {pressure: 1013.12345, temperature: | data = {pressure: 1013.12345, temperature: | ||
- | res = Net:: | + | res = Net:: |
puts res.body | puts res.body | ||
</ | </ | ||
行 36: | 行 36: | ||
require " | require " | ||
require " | require " | ||
+ | ... | ||
POST_URI = " | POST_URI = " | ||
... | ... | ||
行 41: | 行 42: | ||
AlWorker.log( data ) | AlWorker.log( data ) | ||
- | Net:: | + | Net:: |
end | end | ||
</ | </ | ||
行 113: | 行 114: | ||
ADRS = 0x5c # LPS25H | ADRS = 0x5c # LPS25H | ||
NODE = "/ | NODE = "/ | ||
+ | POST_URI = " | ||
def to_int16( b1, b2 ) | def to_int16( b1, b2 ) | ||
行 150: | 行 152: | ||
uri = " | uri = " | ||
- | Net:: | + | Net:: |
end | end | ||
end | end |
raspi_iot/統合テスト.txt · 最終更新: 2021/07/05 11:15 by hirohito