Initial commit.

Stuff working well with a single 3-pin range finder.

FossilOrigin-Name: 483d8caaef350827c026d7c234b026e9e720d26a7e27e54b0436f60b099a0ab9
This commit is contained in:
Mahlon E. Smith 2023-05-09 03:32:09 +00:00
parent af047120c4
commit 07b2d81523
9 changed files with 674 additions and 0 deletions

19
theremin/run Executable file
View 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