farmbot-serial 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- 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: 13a66521f3af57ec3336636065bb5019cccd8391
|
4
|
+
data.tar.gz: 3566d30977fddd4e4907974545d41079e9691b2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df445412c5fc62137559d7b551d61d5cbea3819315b83d0bcde102168323f8f181097ba21401f41bddfa71979435d56f05d3744efaad1a0423733305213dd50
|
7
|
+
data.tar.gz: b14b9e64075481dd4b3e8e653885e033a8ccebbf220fe439e1d14ef5a1ab11144259d264cc5182909181b56aad25178ae4818c7a885c2be9893bff6a061fdc32
|
data/lib/arduino.rb
CHANGED
@@ -66,10 +66,11 @@ module FB
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def maybe_execute_command
|
69
|
-
sleep 0.
|
69
|
+
sleep 0.08 # Throttle CPU
|
70
70
|
gcode = @outbound_queue.pop
|
71
71
|
return unless gcode && status.ready?
|
72
72
|
if gcode.is_a?(FB::Gcode)
|
73
|
+
log "RPI MSG: #{gcode}"
|
73
74
|
serial_port.puts gcode
|
74
75
|
status[:last] = gcode.name
|
75
76
|
status[:BUSY] = 1 # If not, pi will race arduino and "talk too fast"
|
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.4.
|
4
|
+
version: 0.4.3
|
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-05-
|
12
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|