Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface LM75B mbed-rtos mbed
main.cpp
- Committer:
- RobinMechele
- Date:
- 2018-03-13
- Revision:
- 0:29eeb74e55c6
- Child:
- 1:db9b9bec0133
File content as of revision 0:29eeb74e55c6:
#include "setup.h" #include "temperature.h" #include "lcdcontrol.h" #include "mbed.h" int ID; char *IP; Serial pc(USBTX, USBRX); //Why de fak moet dit boven alles staan??????????????? Setup setup; Temperature temperature; LcdControl test; int main() { ID = setup.chooseID(); IP = setup.convertToIP(ID); if(setup.chooseMode() == 0) { test.lcdTest(temperature.getTemperature()); pc.printf("test"); pc.printf("%f", temperature.getTemperature()); //slaverun(IP); } else { pc.printf("lol"); //masterrun(IP); } }