First parsing of frame

This commit is contained in:
Aart van Halteren
2013-06-26 17:46:21 -04:00
parent 6443d70bcf
commit bdcf92211f
4 changed files with 28 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ Dir.glob(project_root + "/app/helpers/*.rb").each{|f| require f}
connection_details = YAML::load(File.open('config/database.yml'))
ActiveRecord::Base.establish_connection(connection_details)
# # Open connection to serial port
# Open connection to serial port
ser = SerialPort.new("/dev/ttyUSB1", 9600, 7, 1, SerialPort::EVEN)
lines = ""
for i in 0..21