dev.UnlimitedHand.com
Processing用 UnlimitedHand リファレンス (関数)
名前:
updatePhotoSensorsString()
説明:
フォトリフレクタの値を更新する.
返り値:
String
引数:
N/A
例:
import UnlimitedHand.*; import processing.core.*; import processing.serial.*; UnlimitedHand uh; void setup(){ size(400, 300); //please check the console window of Processing, //if you change portNum. uh = new UnlimitedHand(this, 3); //By using the Constuctor, Setup the Serial Connection //UnlimitedHand( PApplet p, int portNum ) noLoop(); } void draw(){ } void mousePressed(){ println(uh.updatePhotoSensorsString()); }