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
mount -t vboxsf -o uid=501,gid=501,dmode=0777,fmode=0777 共有名 マウント先ディレクトリ |
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
#include <avr/pgmspace.h> | |
//通信 | |
char serial_recv; | |
//LED | |
char led_pin = 13; | |
//気温 | |
int Analog_in = 0; // アナログ入力ピン番号 |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> | |
<link href="css/bootstrap.min.css" rel="stylesheet"> |
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
<form> | |
<input type="file" id="form_photo_pre" name="photo" value=""> | |
<input type="hidden" required="required" id="form_photo" name="photo" value="" /> | |
<canvas id="canvas"></canvas> | |
</form> | |
<script> | |
$('#form_photo_pre').change(callbackFunc); | |
$("#form_submit").click(function(){ | |
//formにbase64エンコード値セット | |
var resCanvas1 = document.getElementById('canvas'); |
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
#define READ_PIN 7 | |
#define LOW_STATE 0 | |
#define HIGH_STATE 1 | |
void setup(){ | |
Serial.begin(57600); | |
pinMode(READ_PIN,INPUT); | |
Serial.println("Ready to receive"); | |
} |