
腳位抽象化
|
63
即便 Tessel 以電池供電,你也能重新燒錄新的程式,只要已經過認證(使用指令
t2
provision
)並且連接到區域網路。
以底下指令,便可登入到 Tessel 2 的 Linux 系統:
$ t2 root
INFO Looking for your Tessel...
INFO Connected to hellotessel.
INFO Starting SSH Session on Tessel. Type "exit" at the prompt to end.
BusyBox v1.23.2 (2016-04-07 13:52:07 EDT) built-in shell (ash)
Tessel 2 / Built on OpenWrt
root@hellotessel:~#
然後,就能自由地探索 OpenWRT,還有,若需要檢查設置是否正常,取得 Tessel 2 的
系統管理權限,將會非常有幫助。關於其他可用的指令,請見
https://gist.github.com/
flaki/a1efdb438292dd8c56c3
。
另一道非常好用的指令,可把 Tessel 2 轉成 WiFi 存取點(access point):
$ t2 ap -n SSID -p PASS
這麼一來,就可以使用一塊 Tessel 2 開發板,管理多個終端裝置。
腳位抽象化
Tessel 2 開發板以 Atmel SAMD21 提供輸出入腳位,這顆微控制器晶片擁有計時器、類
比轉數位轉換器、以及其他零零 ...