LinkIt 7697 outer case - DesignSpark Mechanical / OnkscapeCAVEDU Education
This topic will show how to design a outer case of LinkIt 7697 board.
Today we use DesignSpark Mechanical 2.0 to desgn it and use Inkspace convert to *.PDF file.
PDF files can support almost all kinds of drawing program and export to laser beam cutting machine.
designer: yulun @CAVEDU
file download: https://www.thingiverse.com/thing:2400953
Tutorial of LinkIt 7697 IoT dev board, including Arduino IDE setup, BlocklyDuino GUI, Mediatel Cloud Sandbox and how to interact throught BLE (App Inventor).
LinkIt 7697物聯網開發板教學,包含Arduino IDE、BlocklyDuino圖形化介面、MCS雲服務以及使用 App Inventor 進行 BLE 互動.
Power by CAVEDU Education http://www.cavedu.com;
App Inventor TW http://www.appinventor.tw
How to write an app with App Inventor, you can use it to control Arduino 101 board by BLE (Bluetooth Low Energy).
Tutorial and source code: http://www.appinventor.tw/ble_lesson1_blink
Workshop @ maker FAire Singapore 2016
12. 建立Python程式2
• .py檔中輸入指令後儲存:
• #!/usr/bin/python :使用的python程式路徑
• a = input(“input value:”)
• b = input(“input second”)
• c = a + b
• print c
註1:必须放在python文件的第一行或第二行
註2: # -*- coding: <encoding name> -*- #!/usr/bin/python
a = input(“input value:”)
b = input(“input second”)
c = a + b
21. 改變檔案權限:chmod
• 符號類型改變檔案權限
• Ex:
– sudo chmod u=rwx,go=rx filename
– sudo chmod a+w filename
– ls -al filename
21
chmod
u
g
o
a
+(加入)
-(除去)
=(設定)
r
w
x
檔案或目錄
33. Python:撰寫函式庫2(.py)
• #!/usr/bin/python
• # File name: mymodule.py
if __name__ == '__main__':
print 'This program is being run by itself.'
print 'I can do other stuff here.'
else:
print 'I am being imported from another module.'
33