Initial commit.
Stuff working well with a single 3-pin range finder. FossilOrigin-Name: 483d8caaef350827c026d7c234b026e9e720d26a7e27e54b0436f60b099a0ab9
This commit is contained in:
parent
af047120c4
commit
07b2d81523
9 changed files with 674 additions and 0 deletions
19
theremin/run
Executable file
19
theremin/run
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env ruby
|
||||
# vim: set noet sta sw=4 ts=4 :
|
||||
|
||||
$LOAD_PATH << './lib'
|
||||
require 'pathname'
|
||||
require 'configurability'
|
||||
require 'theremin'
|
||||
|
||||
Configurability::Config.load( 'config.yml' ).install
|
||||
|
||||
theremin = Theremin.new
|
||||
|
||||
Signal.trap( "INT" ) do
|
||||
puts "\n\nShutting down..."
|
||||
theremin.stop if theremin.running
|
||||
end
|
||||
|
||||
theremin.start
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue