Version 8, working version with Alix, sams and ollies code. Displays time, date and sensor info onto terminal, LCD and networking, and saves onto SD card.
Dependencies: BMP280 ELEC350-Practicals-FZ429 TextLCD BME280 ntp-client
Initialization.hpp
- Committer:
- Alix955
- Date:
- 2018-12-07
- Revision:
- 9:f5eae5211225
File content as of revision 9:f5eae5211225:
#ifndef __Initialization__ #define __Initialization__ #include "mbed.h" #include "EthernetInterface.h" #include "ntp-client/NTPClient.h" #define IP "10.0.0.10" #define NETMASK "255.0.0.0" #define GATEWAY "10.0.0.2" EthernetInterface eth; eth.set_network(IP, NETMASK, GATEWAY); eth.connect(); NTPClient ntp(ð); #endif