summaryrefslogtreecommitdiff
path: root/robot.js
diff options
context:
space:
mode:
Diffstat (limited to 'robot.js')
-rw-r--r--robot.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/robot.js b/robot.js
index f318441..11409c0 100644
--- a/robot.js
+++ b/robot.js
@@ -50,13 +50,9 @@ client.on('connect', () => {
console.log(client)
console.log('Connecté au courtier MQTT');
client.subscribe('move')
- moveTo(1000,1000)
});
// client.publish('move','ULT1')
-/* client.on('message', function (topic, message) {
- console.log('Received from ', topic, ' : ', message.toString());
-}); */
/* client.on('close', function () {
console.log('Déconnecté du courtier MQTT');