Getting Started

(lily) #1

Chapter 11 The Butterfly LCD


with:

river and LCD_functions .h and .c files are in the
me directory as the rest. Compile and download as usual.

pen Bray’s Terminal and connect to the Butterfly. You should see:

You are talking to the 'LCD' demo.

LL1

ill stop scrolling the AB. Type in:

Modify the makefile


SRC += Demonstrator.c \
LCD_test.c \
LCD_driver.c \
LCD_functions.c


And we make sure the LCD_d
sa


O


And the Butterfly LCD will be scrolling “LCD DEMO”


In the output window of Bray’s Terminal type:


CLEAR

The LCD will clear. Now type:


PUTC0A
PUTC1B

And you will see AB on the LCD. Type in:


SCRO

And the LCD will scroll the AB. Type in:


SCROLL0

And the LCD w


PUTF

And the LCD will show:

Free download pdf