Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CSU 107-2 智慧製造、工程量測 課程資料

Notifications You must be signed in to change notification settings

reyna168/micropython_class

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micropython 安裝程序

工具程式:

基本檔案:

安裝步驟:

  • 下載及安裝工具程式

在Winpython Comprompt 視窗下執行: pip install esptool

  • 以 Flasher64 燒錄韌體 image image image

  • 使用打包好的整合系統進行測試

test:

  • putty 終端機
開啟putty

image

設定連接埠

image

連接
嘗試按 CTRL-C
出現提示符號
>>>
>>> import uos
>>> uos.uname()
  • ampy test:
ampy --port COM4 ls

image

  • 設定 webrepl
MicroPython v1.10-8-g8b7039d7d on 2019-01-26; ESP module with ESP8266
Type "help()" for more information.
>>> import webrepl_setup
WebREPL daemon auto-start status: disabled
Would you like to (E)nable or (D)isable it running on boot?
(Empty line to quit)
> e
To enable WebREPL, you must set password for it
New password (4-9 chars): 1234
Confirm password: 1234
Changes will be activated after reboot
Would you like to reboot now? (y/n)
>>> import webrepl
>>> webrepl.start()

  • 設定網路
>>> import network
>>> sta = network.WLAN(network.STA_IF)
>>> sta.ifconfig()

About

CSU 107-2 智慧製造、工程量測 課程資料

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.2%
  • Jupyter Notebook 42.3%
  • HTML 1.4%
  • Batchfile 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.