![](/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
Revision 1:1bde2c70d733, committed 2015-05-02
- Comitter:
- rjuste3
- Date:
- Sat May 02 09:46:40 2015 +0000
- Parent:
- 0:16b592a513ea
- Commit message:
- edit some little things;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 16b592a513ea -r 1bde2c70d733 main.cpp --- 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);