Skip to content

Instantly share code, notes, and snippets.

View ktknest's full-sized avatar

KATO Kenichi ktknest

  • CyberAgent, Inc.
  • Tokyo, Japan
View GitHub Profile
@ktknest
ktknest / LCD.ino
Created July 30, 2015 10:42
LCD×タクトスイッチ文字入力
// LCDキャラクタディスプレイ関数のインクルード
#include <LiquidCrystal.h>
// 接続メモ
// LiquidCrystal display with:
// rs on pin 12
// rw on pin 11
// enable on pin 10
// d0, d1, d2, d3 on pins 5, 4, 3, 2
// 使用するピンの定義
'use strict';
angular.module('myApp')
/**
* @ngdoc directive
* @name myApp:datepickerHotfix
* @restrict A
* @scope false
*
* @description
TCPClient client;
char server[] = "MY_SERVER_HOST";
const int SENSOR_PIN = A7;
int value = 0;
boolean isPush = false;
void setup() {
Serial.begin( 9600 );
@ktknest
ktknest / pinch-zoom-directive.js
Last active July 10, 2018 07:51
pinch zoom in/out directive for AngularJS
/**
* NOTICE:
* This directive is old version!!
* Please check this repository:
* https://github.com/ktknest/angular-pinch-zoom
* /
// sample: http://codepen.io/ktknest/full/LDljw/
angular.module('app', [])