farmbot-serial 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/arduino.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ddadfc1f32971a705b3cf66865bab78406aa157
|
|
4
|
+
data.tar.gz: 1207f59ca88959e5550f9250a8996986e2fa2a3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80a4798b8e1246e042418eec9f2fda0c66554a085c56c181376c5a524344722ee4831d4388b9cb561822cf0648e0c6ec874ce573b2c27bd33d1958aa482089d1
|
|
7
|
+
data.tar.gz: ee836a94a58df2bdecedfbe88604b4282c3264eaf7b126e7a8242e5858ab9ce2d59f17ced6bb82263035ad3a126eaa86b07720b086ea1ea813382f0a46b62951
|
data/lib/arduino.rb
CHANGED
|
@@ -79,8 +79,9 @@ module FB
|
|
|
79
79
|
|
|
80
80
|
def pop_gcode_off_queue
|
|
81
81
|
gcode = @outbound_queue.pop
|
|
82
|
-
status[:last] = gcode.name if gcode.respond_to?(:name)
|
|
83
82
|
serial_port.puts gcode
|
|
83
|
+
status[:last] = gcode.name if gcode.respond_to?(:name)
|
|
84
|
+
status[:BUSY] = 1 # If not, pi will race arduino and "talk too fast"
|
|
84
85
|
end
|
|
85
86
|
|
|
86
87
|
def start_event_listeners
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: farmbot-serial
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Evers
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-04-
|
|
12
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|