SOLVED:
Xideco Installation Problems On Windows
Thanks to the quick action of the pyzmq developers, the problem has been solved.
pi@raspberrypi:~/xideco/xideco/xideco/raspberrypi_bridge$ python3 xirb.py
board num: 1
HW REV: 14
PIGPIO REV: 43
11 1 1685339352
11 0 1685437103
^Cdone done
cleaning up
pi@raspberrypi:~/xideco/xideco/xideco/raspberrypi_bridge$
ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fan-out, pub-sub, task distribution, and request-reply. It's fast enough to be the fabric for clustered products. Its asynchronous I/O model gives you scalable multicore applications, built as asynchronous message-processing tasks. It has a score of language APIs and runs on most operating systems. ZeroMQ is from iMatix and is LGPLv3 open source.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | // This is a simple JavaScript Xideco Bridge that subscribes to // Scratch control messages destined for board #1. var zmq = require('zmq') , sock = zmq.socket('sub'); var msgpack = require("msgpack-lite"); var data; sock.connect('tcp://192.168.2.194:50502'); sock.subscribe('A1'); console.log('Subscriber connected to port 50502'); sock.on('message', function(topic, message) { data = msgpack.decode(message); console.log('received a message related to:', topic, 'containing message:', data); }); |