MediaTek LinkIt™ Smart 7688 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 90
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.
Figure 60 Programming boot loader using AVRDUDE
package for detailed information.
6.7.
Programming with Yun Bridge Library
LinkIt Smart 7688 Duo can also facilitate the
to a certain degree. To make 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