AxedaGo Example for WizFi250 with WIZwiki-W7500
Dependencies: WizFi250Interface mbed-src
Revision 1:566f9356d41c, committed 2015-06-26
- Comitter:
- kaizen
- Date:
- Fri Jun 26 07:10:52 2015 +0000
- Parent:
- 0:d7b297fc507b
- Child:
- 2:f99c99c1970c
- Commit message:
- Modified TX/RX pin for WizFi250
Changed in this revision
--- a/WizFi250Interface.lib Wed Jun 24 06:27:57 2015 +0000 +++ b/WizFi250Interface.lib Fri Jun 26 07:10:52 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/kaizen/code/WizFi250Interface/#e52b91d1a5d5 +http://mbed.org/users/kaizen/code/WizFi250Interface/#0b8e51d3c0e8
--- a/main.cpp Wed Jun 24 06:27:57 2015 +0000 +++ b/main.cpp Fri Jun 26 07:10:52 2015 +0000 @@ -3,10 +3,14 @@ #include "WizFi250Interface.h" #define SECURE WizFi250::SEC_AUTO -#define SSID "wizohp" -#define PASS "wiznet218" +#define SSID "ssid" +#define PASS "key" + -WizFi250Interface wizfi250(D0,D1,D7,D8,PA_12,NC,115200); +#if defined(TARGET_WIZwiki_W7500) + WizFi250Interface wizfi250(D1,D0,D7,D8,PA_12,NC,115200); + Serial pc(USBTX,USBRX); +#endif AnalogIn pot1(A0); TCPSocketConnection sock; @@ -18,10 +22,8 @@ int main() { - S_UART_Init(115200); - char *MODEL = "mbed"; - char *SERIAL_NUM = "nlr__kaizen8501_gmail_com___6245114"; + char *SERIAL_NUM = "serial number"; float DEADBAND = 0.03; int http_cmd_sz=800; @@ -35,6 +37,8 @@ led3 = 1; led4 = 1; + pc.baud(115200); + wizfi250.init(); returnCode = wizfi250.connect(SECURE, SSID, PASS);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-src.lib Fri Jun 26 07:10:52 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/kaizen/code/mbed-src/#cf2abc059970
--- a/mbed.bld Wed Jun 24 06:27:57 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file