Robofun 機器人論壇

標題: 關於 Copper had WiFi Shield V2 [打印本頁]

作者: djdog311    時間: 2012-9-19 10:49
標題: 關於 Copper had WiFi Shield V2
Dear all:
我目前使用  Copper had WiFi Shield V2
底下為連線設定部分 , 但是我想使用自己寫AT Command,存放在EEPROM.
可是我發現 const prog_char security_passphrase[] PROGMEM 必須在一開始 就先設定好 , 我不知道 如何後續更新他
想請問有誰可以提供相關方法嗎 感謝您
unsigned char local_ip[]= {192,168,1,165};   // IP address of WiShield (modify it)
unsigned char gateway_ip[]= {192,168,1,1};   // router or gateway IP address (modify it)
unsigned char subnet_mask[]= {255,255,255,0}; // subnet mask for the local network
char ssid[] = {"Arduino"};   // max 32 bytes  (modify it)
unsigned char security_type = 0;               // 0 - open; 1 - WEP; 2 - WPA; 3 - WPA2   (modify it)
// WPA/WPA2 passphrase
const prog_char security_passphrase[] PROGMEM = {"0123456789"};
// max 64 characters




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