xbee and max - looking for value manually
Up to Max/MSP
Hi,
In MAX, sending "/analogin/0/value" to the mc.usb object report the actual value on the analogin 0. What is the command to report the actual value of a sensor plug in the analogin 0 of the xbee pro module?
Thanks
Claude
The easiest way with the XBees over OSC is to turn on Xbee autosend and then grab the appropriate value out of an io packet.
See the io16 info at http://www.makingthings.com/ref/firmware/html/group___x_bee_o_s_c.html for more details.
Hi Liam,
Thanks for this answer. I already did an object in max to do that task base on the mc.analogin. Is quite simple. I was hoping a way to look at one value at the time and use metro to controll bandwith just like the mc.analogin.
thanks.
Claude
Hi Claude - it doesn't work quite the same way with the XBee modules. As I understand it, there's not a way to query the inputs on the XBee modules. You can only configure them to send values to you at a certain frequency.
If you really only want to see the values at a certain time, you could of course use a gate object in Max to specify when to let them through.
Powered by
Ploneboard

