Skip to content

Instantly share code, notes, and snippets.

IRKitについて

Conference With Developers 2

2014-02-01

@maaash

自己紹介

var PORT = 5353;
var MULTICAST_GROUP = "224.0.0.251";
var dgram = require("dgram");
var client = dgram.createSocket("udp4");
var name = "IRKitD2A8";
//
var payload = new Buffer(
#include <SoftwareSerial.h>
// Not all pins on the Leonardo support change interrupts,
// so only the following can be used for RX:
// 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
SoftwareSerial mySerial(14, 15); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
@mash
mash / Makefile
Last active August 29, 2015 14:06
OUT = ir-state.png ir-learn.png ir-send.png packer.png wifi-morse-setup.png
all: $(OUT)
.SUFFIXES: .png .gv .msc
.gv.png:
dot -Tpng $< -o $@
@mash
mash / index.md
Created September 24, 2014 06:18

1個 → 1000個

- IRKitの例 -



2014-09-22 BLE Boot Camp
@mash
mash / gist:58c3193691aafa29baf8
Created October 1, 2014 07:14
build Open JTalk 1.07 on MacOSX Yosemite
brew install gcc
CXX=g++-4.9 CC=gcc-4.9 ./configure --with-hts-engine-header-path=/usr/local/include --with-hts-engine-library-path=/usr/local/lib --with-charset=UTF-8 --prefix=/usr/local/Cellar/open_jtalk/1.07
make
make install
@mash
mash / app.js
Last active August 29, 2015 14:15
var l = require("nlogger").logger(module),
config = require('./config'),
ifttt = require("./models/ifttt"),
Client = require("../../irkit-client/"),
irkit = new Client({
apikey : config.apikey
}),
async = require("async")
;
@mash
mash / gist:51e82bee2bed897c7d8e
Created June 18, 2015 01:08
post-to-spreadsheet
// https://gist.github.com/mhawksey/1276293
/*
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Freeware Advanced Audio (AAC) Decoder including SBR decoding
http://www.audiocoding.com/
FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
FAAD2 includes code for SBR (HE AAC) decoding.
FAAD2 is licensed under the GPL.
__________
int a;
for ( a=0; a<4; a++ ) {
}