Digilent PmodCLP Podręcznik referencyjny - Strona 2

Przeglądaj online lub pobierz pdf Podręcznik referencyjny dla Jednostka sterująca Digilent PmodCLP. Digilent PmodCLP 4 stron. Parallel lcd display module
Również dla Digilent PmodCLP: Podręcznik referencyjny (6 strony)

Digilent PmodCLP Podręcznik referencyjny
PmodCLP Library: CLP Demo
No. Step
1.
Welcome screen
2.
Backlight On /
Off
3.
Display Shift left
/ right
4.
Display On / Off
5.
Cursor On / Off
6.
Cursor Blink On
/ Off
7.
Cursor shift left /
right
8.
User defined
character
Features:
o Buttons are debounced.
o Recognizes three button actions:
Project Files
File
main.c
util.h
util.c
stdtypes.h
www.digilentinc.com
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Actions
Press Any button to
continue
BTN2: toggle backlight
BTN1: continue
BTN2: shift left
BTN1: shift right
Double buttons action to
continue
BTN2: toggle display
BTN1: continue
BTN2: toggle cursor
BTN1: continue
BTN2: toggle cursor blink
BTN1: continue
BTN2: cursor shift left
BTN1: cursor shift right
Double buttons action to
continue
Any button to continue
1. BTN1 pressed
2. BTN2 pressed
3. Releasing one button while the other is pressed (double buttons action)
Containing
Main application file. Contains main application loop,
interface ISR, buttons processing.
As it implements application functionality, is modified for
each application.
Common Utility Procedures. This is a standard Digilent
file, also used in other applications.
It was not modified for this application.
Common Utility Procedures. This is a standard Digilent
file, also used in other applications, implementing some
led and wait functions.
It was not modified for this application.
Digilent Standard Type Declarations. This is a standard
Demonstrates
ClpWriteStringAtPos - Write to Clp
ClpWriteStringAtPos - Write to Clp
ClpSetBackLight - Set Backlight
ClpWriteStringAtPos - Write to Clp
ClpDisplayShift – shift display
ClpDisplayClear – clear display
ClpWriteStringAtPos - Write to Clp
ClpDisplaySet - Set Display On / Off
ClpReturnHome – Cursor Home
ClpWriteStringAtPos - Write to Clp
ClpDisplaySet - Set cursor On / Off
ClpWriteStringAtPos - Write to Clp
ClpDisplaySet - Set Blink On / Off
ClpWriteStringAtPos - Write to Clp
ClpCursorShift – shift cursor
ClpDisplayClear – clear display
ClpWriteBytesAtPosCgram – write
user defined character data to
CGRAM
ClpWriteDataByte – send CGRAM
character to CLP
Digilent, Inc.
page 2 of 4