Page 83 - Programming the Photon Getting Started With the Internet of Things
P. 83
text and the background so it will be easier to read.
The Particle integrated development environment (IDE) includes the LiquidCrystal
library, which is a set of predetermined functions that make it easy to interface with any
parallel LCD display that you are using. The LiquidCrystal library has an impressive
amount of functionality, including blinking the cursor, scrolling text, creating custom
characters, and changing the direction of the printing. This experiment does not show all
these features, but rather gives you the tools you need to understand how to interface with
the LCD display using the most commonly used functions and features.
To import this library into our program, you need to navigate to the Libraries tab on
the left side as shown in Figure 4.7. Type “liquidcrystal” in the search box or,
alternatively, find the library from the top list of forked libraries.