FIO 4 x 4 (December, 2010)
Designed by Shigeru Kobayashi




Funnel I/O (July, 2008)
Designed by Shigeru Kobayashi


FIO (...
// Funnel
import funnel.*;

public class JapaninoTest extends Sprite {
  private var _japanino:Arduino;

 public function ...
// Japanino
private function onMessage(event:FunnelEvent):void {
  if (event.message == "!") {
    //
  }
}

private funct...
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Gohan to Flash with JS
Upcoming SlideShare
Loading in …5
×

Gohan to Flash with JS

872 views

Published on

Published in: Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
872
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Gohan to Flash with JS

  1. 1. FIO 4 x 4 (December, 2010) Designed by Shigeru Kobayashi Funnel I/O (July, 2008) Designed by Shigeru Kobayashi FIO (December, 2009) Designed by Shigeru Kobayashi and SparkFun Arduino Fio (March, 2010) Designed by Shigeru Kobayashi and SparkFun
  2. 2. // Funnel import funnel.*; public class JapaninoTest extends Sprite { private var _japanino:Arduino; public function JapaninoTest() { _japanino = new Arduino(Arduino.FIRMATA); // _japanino.addEventListener(FunnelEvent.READY, onReady); // FIRMATA_STRING _japanino.addEventListener(FunnelEvent.FIRMATA_STRING, onMessage); }
  3. 3. // Japanino private function onMessage(event:FunnelEvent):void { if (event.message == "!") { // } } private function onButtonPress(event:MouseEvent):void { // 15 x7 var pattern:Array = [ parseInt("0001000", 2), parseInt("0010100", 2), parseInt("0010100", 2), ... parseInt("1111111", 2)]; // Japanino _japanino.sendSysexMessage(0x10, pattern); }

×