- Google Cloud Dataflow で Google BigQuery へストリーミング ETL するの巻
- Stackdriver Logging(Log Viewer)で見た目の良いログを出力するためのあれこれ
| int BUTTON_PIN = 0; | |
| int MAX_NUM_PIN = A0; | |
| int OUTPUT_PIN = 5; | |
| int button = LOW; | |
| bool started = false; | |
| bool end = false; | |
| int max = 6; | |
| int count = 0; | |
| int value = 0; |
| void setup() { | |
| Serial.begin(9600); | |
| pinMode(0, INPUT); | |
| } | |
| bool on = false; | |
| bool keep = false; | |
| void loop() { | |
| int val = analogRead(A0); |