Robofun 機器人論壇

標題: wifi連結疑問求幫助 [打印本頁]

作者: opl164    時間: 2014-2-10 21:12
標題: wifi連結疑問求幫助
小弟我把wifi shield 跟arduino uno 連接後使用內建的example  ScanNetworks 這個程式
結果    程式說我的wifi shield不存在
可是 wifi shield上的pwr燈有亮
想請問一下     我該如何知道wifi shield是否有正確的何arduino連接?
作者: vegewell    時間: 2014-2-11 11:53
回復 1# opl164

這個網頁有在教:Arduino Mega and Official WiFi Shield
http://forum.arduino.cc/index.php/topic,131555.0.html
--------------------
   Guys, I found a picture of the Wifi shield (http://multilogica-shop.com/arduino-wifi-shield) with a wire jumper on the back of the board (see attached picture).

I tried it and my board started to work.
作者: opl164    時間: 2014-2-12 21:12
我把jumper弄好之後
又有另外一個問題

程式執行到if (WiFi.status() == WL_NO_SHIELD)
這句判斷的時候
既沒有達成條件執行裡面的內容
也沒有繼續往下執行
這是為什麼?




歡迎光臨 Robofun 機器人論壇 (https://robofun.net/forum/) Powered by Discuz! X3.2