Guide
1/12/2018 mbed Starter Kit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/mbed-starter-kit-experiment-guide/all 32/65
Jumper Wire j2 f30
Jumper Wire a1 ( - )
Jumper Wire a9 f28
Jumper Wire a10 f29
Jumper Wire a11 f26
Jumper Wire ( - ) f27
Jumper Wire j5 e16
Jumper Wire j6 e15
Jumper Wire j7 e10
Jumper Wire j8 e9
* Pins not listed are not used.
The Code
We will be relying heavily on pre-built libraries for this project. We need the same LCD library from the previous two tutorials as well as mbed’s Ethernet and NTP
libraries.
Libraries
Navigate to the mbed.org, login, and navigate to your Compiler.
Create a new program with the “Blinky LED Hello World” template. Name it something like “internet_clock.”
Navigate to the following pages and import each library into your “internet_clock” program.
4DGL-uLCD-SE
EthernetInterface
mbed-rtos
NTPClient
The mbed library should already be imported if you used the “Blinky” template.
Program
Click on “main.cpp” in your project, remove the template code, and copy in the following code.