Guide
1/12/2018 mbed Starter Kit Experiment Guide - learn.sparkfun.com
https://learn.sparkfun.com/tutorials/mbed-starter-kit-experiment-guide/all 15/65
Hookup Table
Place the LPC1768 in a breadboard with pin VOUT in position i1 and pin 20 in position b20.
Connect the rest of the components as follows:
Component Breadboard
uLCD-144-G2* h26 (RES) h27 (GND) h28 (RX) h29 (TX) h30 (+5V)
Jumper Wire j2 f30
Jumper Wire a1 ( - )
Jumper Wire a9 f28
Jumper Wire a10 f29
Jumper Wire a11 f26
Jumper Wire ( - ) f27
* Pins not listed are not used.
The Code
For this tutorial, we will be using an mbed library. Libraries can be found under the Handbook for official, mbed-supported libraries or the Cookbook for user-
created mbed libraries.
Libraries
mbed.org user Jim Hamblen modified a 4D LCD library to work with our uLCD-144-G2. We copied (also known as “forked”) his library for use in this tutorial.
Go to mbed.org and sign in to your account.
Navigate to the mbed 4DGL-uLCD-SE library page.
Click “Import this library” on the right side of the page. You will be brought to the mbed Compiler and asked to import the library. Fill in a program name (e.g.
“ulcd_demo”) for “New Program” and click “Import.”