2018-09-08
シリコンバレースタイルを福井県に!
Silicon Valley style comes to Fukui!

永平寺町カンザダあみるの前職 Pivotal では、ペアプロが開発の基本。
Amil Khanzada, Eiheiji Town's Evolution Ambassador, said that pair programming is a fundamental concept at Pivotal.

ペアプロとは、2人でプログラミングを進めること。
Pair programming is a method of programming with 2 people.

2台のモニターに同じ情報を表示し、2台のキーボードを使って無理ない姿勢で、すばやく作業できる状態を作るのが、はじめのいっぽ。
The first step is to prepare two monitors and two keyboards for programming without getting into weird postures.


IchigoJamでのペアプロ実現方法
How to prepare for pair programming on IchigoJam:

IchigoJam・キーボード・モニターを2セット、ジャンパー線を4本を用意します。
Prepare 2 sets of IchigoJam: 2 keyboards, 2 monitors, and 4 jump wires.

IchigoJam 2台をAとBと呼ぶことにして、AからBへシリアル(TXD)でキー入力を送り、Bの画面表示をAにミラーリング(同じ表示をすること)します。
Let's call the two as IchigoJam A and IchigoJam B. A sends keycodes to B via the serial signal (TXD). A shows B's display.

こちらがAで動かすプログラム
Below is a program for A.

10 VIDEO0 20 K=INKEY():IF K ?CHR$(K); 30 GOTO 20


RUNで動かし、ジャンパーワイヤーでつなげばできあがり!
Type in "RUN" and connect the 4 jump wires as below. Done!

IchigoJam A -> IchigoJam B
TXD -> RXD
GND -> GND
VIDEO1 -> VIDEO1
VIDEO2 -> VIDEO2

あとは二人でペアプロしましょう!(ESCが使えるのはBの人だけなので注意)
Let's do pair programming! * You can't use the ESC key on A (as it will stop the RUN'ing program).

9/22 永平寺町であみると開催するイベント、Zen x Programming で楽しく体験できます!
You can have fun pair programming on September 22nd at Eiheiji town with Amil and me!
Amil's Website: 2018年9月22日:禅xシリコンバレーxIchigoJam体験プログラミングワークショップ(初心者向け)

links
- Pivotal Labsに聞く、日本企業とエンジニアが共にハッピーになる方法 (1/2):DX時代のDevOps/アジャイルヒーローたち(2) - @IT

Tweet
クリエイティブ・コモンズ・ライセンス
本ブログの記事や写真は「Creative Commons — CC BY 4.0」の下に提供します。記事内で紹介するプログラムや作品は、それぞれに記載されたライセンスを参照ください。
CC BY / @taisukef / アイコン画像 / プロフィール画像 / 「一日一創」画像 / RSS