MEDIATEK LinkIt Smart 7688 Developer's Manual page 83

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

Advertisement

D13
If you see the LED on
terminates, congratulations. You've successfully ran the blink example.
Please continue to explore more examples in the PyMata/examples you've downloaded earlier.
Just remember to change the serial port to
differences between LinkIt Smart 7688 Duo and Arduino Uno:
LinkIt Smart 7688 Duo operates in 3.3V, not 5V as in Arduino Uno.
o
You'll need extra power source when driving motor or servo peripherals because
o
they draw more current.
Please refer to
Firmata website
6.6.6.
Node.js example
This section illustrates the MPU and MCU communication using Firmata protocol in Node.js. The
main steps are:
Set up the MCU, start by Launching Arduino IDE 1.6.5 on your computer
1)
Copy the Firmata example to Arduino, you do this by opening a browser and click here.
2)
You'll see a Firmata example code. Click on Raw button to copy the code, as shown in
Figure 58 below.
Copy the example code to the Arduino IDE and click Upload, as shown in Figure 59.
3)
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
of the LinkIt Smart 7688 Duo blink 10 times before the Python program
/dev/ttyS0
for other Python interfaces available to Firmata protocol.
Figure 58Copying example code from Github
© 2015, 2016 MediaTek Inc.
, and keep in mind the hardware
Page 83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents