![Dragino PAB2 User Manual Download Page 35](http://html1.mh-extra.com/html/dragino/pab2/pab2_user-manual_2527139035.webp)
2.5
Upload Sketch
1)
In the Arduino IDE, choose the
Arduino Yun
board type for Leonardo.
2)
In Arduino IDE
port, choose the correct port. (should be Arduino Yun port with an ip
address)
3)
In the Yun Shield GUI
Sensor page, choose the Board Type: Leonardo
4)
Compile the sketch and upload it to the Arduino Board. During upload, The Yun Shield will
ask you to key in the password, by default, the password is
dragino
.
2.6
Bridge Library
The Bridge Library simplifies the communication between the Arduino Board and Yun Shield.
Bridge commands from the AVR (Arduino Board) are interpreted by Python on the Yun Shield. Its
role is to execute programs on the GNU/Linux side when asked by Arduino, provide a shared
storage space for sharing data like sensor readings between the Arduino and the Internet, and
receiving commands from the Internet and passing them directly to the Arduino.
There are detail explain and lots of example to show how to use Bridge in the Arduino Official
Website. Reference link is:
http://arduino.cc/en/Reference/YunBridgeLibrary
examples in next chapter.
w w w . e k t
2
. c o m
Electronics
Katrangi
Trading
Summary of Contents for PAB2
Page 1: ...Yun Shield User Manual VERSION 1 1 w w w e k t 2 c o m Electronics Katrangi Trading...
Page 20: ...Screen Shot Xively Dashboard w w w e k t 2 c o m Electronics Katrangi Trading...
Page 28: ...Yun Shield Quick Start Guide VERSION 1 0 w w w e k t 2 c o m Electronics Katrangi Trading...
Page 39: ...Screen Shot Xively Dashboard w w w e k t 2 c o m Electronics Katrangi Trading...