This file contains hidden or 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
float readTouchPanel(PinName a, PinName b....){ | |
DigitalOut dout(a); | |
AnalogIn ain(b); | |
dout = 1; | |
return ain.read(); | |
} |
This file contains hidden or 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
import requests | |
api_token = "yourApiToken" | |
ret = requests.post("http://api.justyo.co/yoall/", data={'api_token': api_token}) | |
print ret; |
This file contains hidden or 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
//foo.h | |
class foo { | |
public: | |
foo(); | |
inline void hoge(){ | |
printf("%f",v); //何故か0になる 多分初期化タイミングが違うけど何故? | |
}; | |
private: | |
static const float v; | |
} |
NewerOlder