Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

Opticon Ruby

require 'opticon_scanner'
opticon = Opticon.new '/dev/ttyUSB0' #COM0 on windows
puts opticon.run :get_settings
10.times { opticon.run :good_beep }
3.times { opticon.run :error_beep }
opticon.run :trigger

opticon.run :enable_presentation_mode

#Finding scanners

Opticon.search
opticon.each do |scanner|
  scanner.run_batch do
    run :clear_memory
    run :set_time, Time.now
    run :enable_presentation_mode
  end
end

About

Library for working with Opticon scanners

Resources

License

Releases

No releases published

Packages

No packages published

Languages