Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LCD library for Arduino

NotificationsYou must be signed in to change notification settings

mikaelpatel/Arduino-LCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The LCD library provides an abstract interface for LCD devices and anadapter design pattern to allow device drivers to be reused even whenLCD device communication changes. The library includes device driversfor MAX72XX, HD44780 and PCD8544, and adapter using GPIO, ShiftRegisters, and TWI (PCF8574). There is also supportfor the LCD4884 and LCD Keypad Shields including keypad.

Version: 1.4

Classes

Device Drivers

Port Adapters (HD44780)

Shield Support

Example Sketches

Benchmarks

Note: 1) All measurements are in microseconds. They include an overheadof calling micros() and the resolution is +-4 us. 2) The benchmarkfill_screen() depends on the screen size; total number of characters is32 (16x2) for HD44780 and 84 (14x6) PCD8544.

NrOperationPP7WSR4WSR3WTWI(SW)TWI(100)TWI(400)PCD8544
0lcd.begin()5482049828548405816058384558964388
1lcd.write('0')44566049651617664
2lcd.print('0')44486049652018068
3lcd.print("0")52566849652818480
4lcd.print("10")921001249921044356136
5lcd.print("100")13614818414841560528208
6lcd.print("1000")18019624019762080704272
7lcd.print("10000")22824829624682596880332
8lcd.print("Hello World")496520656542457081924716
9lcd.print(F("Hello World"))496516648540857001928720
10lcd.print(F("\aHello World\a"))500520656542057201932744
11lcd.print(F("Hello\tWorld"))492520660542057201932684
12lcd.print(F("Hello\nWorld"))121613041636137561452448961424
13lcd.print(F("\nHello\tWorld"))127613521700142601503650801448
14fill_screen()217623242920245682589687369252
15lcd.print(0)96100116540568224120
16lcd.print(1)9696112548572228116
17lcd.print(10)17618420810721128436224
18lcd.print(100)26826830016081684656328
19lcd.print(INT16_MIN)464492560315633081256592
20lcd.print(INT16_MAX)432436504266828121076532
21lcd.print(INT32_MIN)88491210445808609623161112
22lcd.print(INT32_MAX)8448689845320558021481048
23lcd.print(1234.56789, 5)1028105211685504576423321236
24lcd.print(-1234.56789, 5)1068110012325988628025041296
25lcd.print(0x8000, BIN)1320136015488480891234042428
26lcd.print(0x8000, DEC)424432492266427961072528
27lcd.print(0x8000, HEX)34034839621322232864428
28lcd.backlight_off()484212228844
29lcd.backlight_on()844208228884
30lcd.display_off()40445648451217212
31lcd.display_on()40445648452016812
32lcd.display_normal()44444412
33lcd.display_inverse()44444412
34lcd.display_clear()1668164816682096212017764332
35lcd.cursor_blink_on()4044524925121684
36lcd.cursor_blink_off()4044564885161804
37lcd.cursor_set(0,0)44485648852017624
38lcd.cursor_home()16601648166820962124177628
39lcd.print('\a')8444448
40lcd.print('\b')1321441841472156053288
41lcd.print('\f')1656165616722100212817884340
42lcd.print('\n')7848361044883693203160764
43lcd.print('\r')48526049252018032
44lcd.print('\t')52566850452418436
45lcd.end()4044564925161724340

Dependencies

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp