Programming With Yun Bridge Library - MEDIATEK LinkIt Smart 7688 Developer's Manual

Hide thumbs Also See for LinkIt Smart 7688:
Table of Contents

Advertisement

Figure 60 Programming boot loader using AVRDUDE
Please refer to
AVRDUDE

6.7. Programming with Yun Bridge Library

LinkIt Smart 7688 Duo can also facilitate the
Bridge library work, you'll need to configure the system to allow various Bridge related services to
run. You'll also need to set the system console to map to /dev/ttyS0 which allows the Arduino
side to issue commands to the Linux system. Luckily, the default system image of LinkIt Smart
7688 Duo wraps all the aforementioned configurations into a single UCI configuration. All you
need to do is to enable it. You can do this by typing the following command in the system console
and reboot the system. For example:
uci set yunbridge.config.disabled='0'
uci commit
reboot
After reboot finishes, the system is ready to accept commands from the Arduino side. Connect the
board to you computer and open Arduino IDE, then choose File > Examples > Bridge >
TimeCheck. Next, upload the TimeCheck example sketch to LinkIt Smart 7688 Duo and launch the
Serial Monitor. You should see following outputs from the Serial Monitor.
Time Check
00:00:00
03:42:05
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Smart 7688 Developer's Guide
package for detailed information.
Yun Bridge library
© 2015, 2016 MediaTek Inc.
to a certain degree. To make the
Page 90

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents