MediaTek LinkIt™ Smart 7688 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 77
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 56 Upload Sketch in Arduino IDE
6.5.2.
Blink Program – Linux Side
As describe in chapter 4, “General Programming Guide”, you can program the Linux side using
many languages, including C/C++, Python or Node.js. In this example, Python is used to illustrate a
program that sends command to the MCU (Arduino) side to make the LED blink.
1)
Use a text editor of your choice and create a new file, then copy the following code and
save it.
import serial
import time
s = None
def setup():