Dust Sesnsor PMS5003
Dependencies: DustSenzor NetServices ThingSpeakEthernet mbed
Fork of PMS5003 by
Revision 3:aeaa9fa8cda0, committed 2010-11-21
- Comitter:
- segundo
- Date:
- Sun Nov 21 17:13:57 2010 +0000
- Parent:
- 2:16857d9ab50d
- Child:
- 4:26f346102b1a
- Commit message:
Changed in this revision
NetServices.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NetServices.lib Fri Nov 19 21:54:02 2010 +0000 +++ b/NetServices.lib Sun Nov 21 17:13:57 2010 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/segundo/code/NetServices/#5a6792c147c0 +http://mbed.org/users/segundo/code/NetServices/#966a0265edfc
--- a/main.cpp Fri Nov 19 21:54:02 2010 +0000 +++ b/main.cpp Sun Nov 21 17:13:57 2010 +0000 @@ -30,8 +30,9 @@ printf("\n\n/* NetServices tribute library demonstration */\n"); printf("Try starting the program with the network disconnected and then connect after a few timeouts reported\n\n"); EthernetErr ethErr; + int count = 0; do { - printf("Setting up...\n"); + printf("Setting up %d...\n", ++count); ethErr = eth.setup(); if (ethErr) printf("Timeout\n", ethErr); } while (ethErr != ETH_OK);