Skip to content

Instantly share code, notes, and snippets.

View naokirin's full-sized avatar

naokirin(Naoki Hayashida) naokirin

View GitHub Profile
@naokirin
naokirin / Stackdriver.md
Created December 6, 2017 04:31
Stackdriverについて
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);