![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Application where a user inputs a time and then coffee will be made
Dependencies: EthernetInterface HTTPClientAuthAndPathExtension NTPClient PinDetect mbed-rtos mbed
Diff: main.cpp
- Revision:
- 1:1bde2c70d733
- Parent:
- 0:16b592a513ea
--- a/main.cpp Sat May 02 09:38:35 2015 +0000 +++ b/main.cpp Sat May 02 09:46:40 2015 +0000 @@ -17,7 +17,7 @@ int cups = 0; int hour; int minute; -int timeBrew = 60; +int timeBrew = 120; @@ -26,7 +26,7 @@ EthernetInterface eth; NTPClient ntp; - static const char* mbedIp = "128.61.126.186"; //IP +static const char* mbedIp = "128.61.126.186"; //IP static const char* mbedMask = "255.255.240.0"; // Mask static const char* mbedGateway = "128.61.112.1"; //Gateway eth.init(mbedIp, mbedMask, mbedGateway);