Ignore:
Timestamp:
02/17/2017 06:12:12 PM (8 years ago)
Author:
Norbert Wigbels <frickel@…>
Branches:
master
Children:
05062c9
Parents:
97e1817
Message:

Wassersensor

Location:
de.wigbels.ruby/hothotread
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • de.wigbels.ruby/hothotread/hothotpiper_gas.rb

    r97e1817 r2c75e95  
    2626end
    2727
    28 watch :pin => 4, :trigger => :falling do
     28watch :pin => 4, :trigger => :rising, :pull => :up do
    2929  puts('triggered watch to 1')
    3030  trigger_watch = 1
     
    3535counter = last_rrd_count(rrdpath)
    3636puts('Counter restored to: ' + counter.to_s)
    37 
     37#PiPiper::Pin.new(:pin => 4, :direction => :in)
    3838
    3939EventMachine.run do
Note: See TracChangeset for help on using the changeset viewer.