Sha256: ee62397e4af0dafb9cc536e3679ad2fd7686e43b0b6bd5991ce2dde50e616fb8

Contents?: true

Size: 310 Bytes

Versions: 9

Compression:

Stored size: 310 Bytes

Contents

require 'artoo'

connection :pebble, :adaptor => :pebble, :port => "/dev/rfcomm0", :id => "378B"
device :watch, :driver => :pebble
  
work do
  watch.set_nowplaying_metadata("Artoo", "Hello", Time.now.to_s)
  every(5.seconds) do
    watch.set_nowplaying_metadata("Artoo", "Update...", Time.now.to_s)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
artoo-pebble-1.0.2 examples/hello_pebble.rb
artoo-pebble-1.0.1 examples/hello_pebble.rb
artoo-pebble-1.0.1.pre examples/hello_pebble.rb
artoo-pebble-1.0.0 examples/hello_pebble.rb
artoo-pebble-1.0.0.rc2 examples/hello_pebble.rb
artoo-pebble-1.0.0.rc1 examples/hello_pebble.rb
artoo-pebble-1.0.0.pre examples/hello_pebble.rb
artoo-pebble-0.1.1 examples/hello_pebble.rb
artoo-pebble-0.1.0 examples/hello_pebble.rb