Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

finish fixing example paths

  • Loading branch information...
commit cdbaae6a19819cd74575b876f201356aaa0eb419 1 parent 75ef451
@nofxx nofxx authored
View
2  examples/buspirate_selftest.rb
@@ -1,5 +1,3 @@
-require 'rubygems'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
View
4 examples/buspirate_spi_bulkreadwrite.rb
@@ -1,4 +1,4 @@
-require 'rubygems'
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
require 'pp'
@@ -45,7 +45,7 @@
puts "failed"
exit
end
-
+
print "configuring peripherals...\t"
if buspirate.config_peripherals(true, false, true, false)
puts "done"
View
4 examples/buspirate_spi_sniffer.rb
@@ -1,4 +1,4 @@
-require 'rubygems'
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
DEFAULT_BAUDRATE = 115200
@@ -43,7 +43,7 @@
puts "failed"
exit
end
-
+
print "configuring peripherals...\t"
if buspirate.config_peripherals(true, false, true, false)
puts "done"
View
2  examples/buspirate_uart_bridge.rb
@@ -1,5 +1,3 @@
-# require 'rubygems'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'i18n'
require 'buspirate'
Please sign in to comment.
Something went wrong with that request. Please try again.