This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write('<script type="text/javascript" src="https://js.cybozu.com/jquery/2.1.4/jquery.min.js"></script>'); | |
function loadJS(src) { | |
document.write('<script type="text/javascript" src="' + src + '"></script>'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
# spi, time ライブラリをインポート | |
import spidev | |
import time | |
# センサーデータのJSON化のためにインポート | |
import json | |
from datetime import datetime | |
# HTTPリクエスト生成のためにインポート | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
# spi, time ライブラリをインポート | |
import spidev | |
import time | |
# センサーデータのJSON化のためにインポート | |
import json | |
from datetime import datetime | |
# HTTPリクエスト生成のためにインポート | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
# spi, time ライブラリをインポート | |
import spidev | |
import time | |
# センサーデータのJSON化のためにインポート | |
import json | |
from datetime import datetime | |
# SpiDev オブジェクトのインスタンスを生成 |