What steps will reproduce the problem?
1. connect LEDs to a Gainer I/O's ports
2. run a Funnel Server
3. run the following sketch in Processing
4. press a mouse button on the applet window
5. release a mouse button on the applet window
import processing.funnel.*;
Gainer gainer;
void setup()
{
size(200, 200);
frameRate(30);
gainer= new Gainer(this, Gainer.MODE6);
gainer.autoUpdate = true;
}
void draw()
{
background(100);
}
void mousePressed()
{
gainer.digitalOutput(8).value = 1;
gainer.digitalOutput(9).value = 1;
gainer.digitalOutput(10).value = 1;
gainer.digitalOutput(11).value = 1;
gainer.digitalOutput(12).value = 1;
gainer.digitalOutput(13).value = 1;
gainer.digitalOutput(14).value = 1;
gainer.digitalOutput(15).value = 1;
println("pressed");
}
void mouseReleased()
{
gainer.digitalOutput(8).value = 0;
gainer.digitalOutput(9).value = 0;
gainer.digitalOutput(10).value = 0;
gainer.digitalOutput(11).value = 0;
gainer.digitalOutput(12).value = 0;
gainer.digitalOutput(13).value = 0;
gainer.digitalOutput(14).value = 0;
gainer.digitalOutput(15).value = 0;
// gainer.update();
println("released");
}
What is the expected output? What do you see instead?
mousePressed()では問題なく指定したポートがhighになり、LEDが��
�灯する。しか
し、mousePressed()では更新されない(funnel_serverにもメッセー��
�がこない)。
update()を呼び出して明示的に更新するとサーバにメッセージ
は来るが、その後ク
ライアント側が無限ループに入ってしまう。
Please use labels and text to provide additional information.
r399
Original issue reported on code.google.com by kotob...@gmail.com on 31 Jul 2008 at 2:39
Original issue reported on code.google.com by
kotob...@gmail.com
on 31 Jul 2008 at 2:39