fortudiego / funnel

Automatically exported from code.google.com/p/funnel
Other
0 stars 0 forks source link

Won't update outputs from the second run #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run the following code under an action-coding environment
require 'funnel'
include Funnel

R = 11
G = 18
B = 19

def setup
  size 360, 480

  config = Fio.FIRMATA
  config.set_digital_pin_mode(3, PWM)
  config.set_digital_pin_mode(10, PWM)
  config.set_digital_pin_mode(11, PWM)
  @nodes = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
  @fio = Fio.new :applet => self, :config => config, :nodes => @nodes
  @osc = Osc.new Osc::SIN, 0.5, 0

  @fio.io_module(ALL).port(G).filters = [@osc]
  @osc.start
end

What is the expected output? What do you see instead?
Works fine at first run, but won't update outputs from the 2nd run

Please use labels and text to provide additional information.
r390
action-coding: r91
JRuby 1.1.2
Mac OS X 10.5.4

Original issue reported on code.google.com by kotob...@gmail.com on 20 Jul 2008 at 1:06

GoogleCodeExporter commented 8 years ago
fixed in r391

Original comment by kotob...@gmail.com on 21 Jul 2008 at 12:47