Communication between processors and between laptop and Yun in my application


hi folks,

here's need do:

the 32u4 on yun needs run small program loop that: reads commands delivered via wifi set 2 output bits on/off, monitors 2 input switches , toggles 2 outputs bits on/off, reads analog input , sends status of outputs , analog input via wifi control station.  can handle writing sketch 32u4, still not clear need communicate wifi portion of yun , how link commands.  bridge right thing use in 9331 side? or yun mailbox constructor?  or need python script?

i'm  clueless on how write app laptop/notepad.  easy gui program use on end allow me send , receive commands yun on wifi, , create interactive icons?

thanks,

dean

for receiving commands (eg: running function or analogwrite value), 1 easy way using bridge's yunclient/yunserver. bridge example (examples, bridge, bridge) that.

to publish readings outside world, 1 easy way using bridge.put() , have calling yun's /data/ urls, eg: have sketch run bridge.put("living_room_temperature", string(22)) , use browser access http://myyun.local/data/get/living_room_temperature

take @ other info regarding how bridge works http://blog.arduino.cc/2013/09/05/hands-on-the-arduino-yuns-bridge/


Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Communication between processors and between laptop and Yun in my application


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support