![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Dust Sesnsor PMS5003
Dependencies: DustSenzor NetServices ThingSpeakEthernet mbed
Fork of PMS5003 by
Diff: main.cpp
- Revision:
- 3:aeaa9fa8cda0
- Parent:
- 2:16857d9ab50d
- Child:
- 4:26f346102b1a
--- 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);