Skip to content

Instantly share code, notes, and snippets.

View jyoshida-sci's full-sized avatar

YOSHIDA Junya jyoshida-sci

View GitHub Profile
/*
*
State change detection (edge detection)
http://www.arduino.cc/en/Tutorial/ButtonStateChange
*/
const int buttonPin = 3;
const int outPin = 13;
<?php
// This is just an example of reading server side data and sending it to the client.
// It reads a json formatted text file and outputs it.
//$string = file_get_contents("data.json");
//echo $string;
// Instead you can query your database and parse into JSON etc etc