SORACOM Air + Raspberry Pi + L-05Aを使ったインターネット接続の設定.md
$ sudo apt-get remove --purge usb-modeswitch
$ sudo apt-get install -y eject wvdial dnsutils
$ sudo vi /etc/wvdial.conf
[Dialer Defaults]
$ ruby -r time -e 'loop{sleep 1;break if Time.now>Time.parse("2015/12/16 18:00:00")}' && aplay test.wav |
//DirectShowVideo and ofDirectShowPlayer written by Theodore Watson, Jan 2014 | |
//Code is based off of examples provided by MSDN, the videoInput library, http://www.codeproject.com/Articles/30450/A-simple-console-DirectShow-player | |
//and http://www.geekpage.jp/en/programming/directshow/ | |
//This code is free to be used in any manner with or without attribution. | |
//No warrenty is offered or implied. | |
#include "ofDirectShowPlayer.h" | |
//------------------------------------------------------------------------------------------------------------------------------------------------------------- |
#define REPS 100 | |
const uint8_t PROGMEM anim[] = { | |
// invadar #1 | |
B00011000, B00111100, B01111110, B11011011, B11111111, B00100100, B01011010, B10100101, 25, | |
B00011000, B00111100, B01111110, B11011011, B11111111, B00100100, B01011010, B01000010, 25, | |
B00011000, B00111100, B01111110, B11011011, B11111111, B00100100, B01011010, B10100101, 25, | |
B00011000, B00111100, B01111110, B11011011, B11111111, B00100100, B01011010, B01000010, 25, | |
B00011000, B00111100, B01111110, B11011011, B11111111, B00100100, B01011010, B10100101, 25, |
int w = 50; | |
boolean [][] matrix = new boolean[8][8]; | |
void setup() { | |
size(400, 400); | |
} | |
void draw() { | |
background(0, 0, 0); |
#include <stdio.h> | |
void goal() | |
{ | |
puts("goal!"); | |
} | |
int main(int argc, char *argv[]) | |
{ | |
void (*f)(); |
// | |
// jpeg_camera_test_for_esp8266.ino | |
// | |
#include <Adafruit_VC0706.h> // https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/ | |
#include <SoftwareSerial.h> // https://github.com/plerup/espsoftwareserial | |
SoftwareSerial serial = SoftwareSerial(4, 5); | |
Adafruit_VC0706 camera = Adafruit_VC0706(&serial); | |
void setup() { |
まずpythonのpipをインストール