changeset 6:f10747e8ce4f

uBob 2
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sat, 06 Jun 2015 11:30:49 +0200
parents 355a31408575
children 263bcda77a3b
files download.lua ubob.lua ubob2.fzz
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/download.lua	Mon Jan 19 01:05:57 2015 +0100
+++ b/download.lua	Sat Jun 06 11:30:49 2015 +0200
@@ -3,5 +3,5 @@
     socket = net.createConnection(net.TCP, 0)
     socket:on("receive", function(sck, data) file.write(data) end)
     socket:on("disconnection", function(sck) file.close(); sck:close() end)
-    socket:connect(2121, "192.168.4.2")
+    socket:connect(2121, "192.168.0.11")
 end
--- a/ubob.lua	Mon Jan 19 01:05:57 2015 +0100
+++ b/ubob.lua	Sat Jun 06 11:30:49 2015 +0200
@@ -61,9 +61,9 @@
     end
 
     if moving then
-        pwm.setduty(7, 96 + sway_pos)
+        pwm.setduty(5, 96 + sway_pos)
         pwm.setduty(6, 88 + left_pos)
-        pwm.setduty(5, 94 + right_pos)
+        pwm.setduty(7, 94 + right_pos)
     else
         next_pose()
     end
Binary file ubob2.fzz has changed