|
本帖最後由 vegewell 於 2011-10-9 11:23 編輯
回復 9# Eason
這句話<從機選擇(SS) : Arduino pin 10 (端口B, pin 2)>
(端口B, pin 2)是指給比較低階的Arduino板如 (the ATmega8 and ATmega168) have three ports
所以你不用管端口B
用UNO板接上wishield V2.0 板
接線引腳使用
‧SPI
◦從機選擇(SS) : Arduino pin 10
◦時鐘(SCK) : Arduino pin 13
◦主機進,從機出(MISO) : Arduino pin 12
◦主機出,從機進(MOSI) : Arduino pin 11
‧中斷引腳(根據跳針,選擇下面其中的一種)
◦INT0 : Arduino pin 2
◦DIG8 : Arduino pin 8
‧LED : Arduino pin 9 ◦要重新使用這個引腳,移掉LED跳投帽
‧5V功率
‧GND
要測試的話到下列往址照著做:
The best place to start would be to install the WiShield drivers using the instructions on the Async Labs wiki, and test out one or two example sketches to make sure you have the driver and shield working correctly.
http://asynclabs.com/wiki/index.php?title=AsyncLabsWiki
Test the "SimpleServer" example sketch and make sure you can access the demo page in your browser.
--------------------
Compatible with Asynclab wifi shield!」 This would have led me to the AsyncLabs Wiki and would have saved me a lot of time.
==========================
一步一步的做, 有問題再提出來討論, |
|