Skip to content

Robotonics/CharacterLCD

 
 

Repository files navigation

CharacterLCD

CharacterLCD is a .NET library to control a character LCD (16x2) on the Raspberry Pi 2 running Windows 10 IoT Core.

Methods

  • Initializer : initialize the LCD
  • ClearLCD : clear the text on the LCD
  • Dispose : close the pins
  • WriteLCD : dislay a string on the LCD
  • NewLine : change cursor to the start of the second line
  • ShiftDisplayLeft : shift the text on the display to the right
  • ShiftDisplayRight : shift the text on the display to the right

Usage

Preparation

In order to use this you need to have Windows 10 IoT Core set up on your Raspberry Pi 2. You can visit this url to do this.

Connect

After your Raspberry Pi has been setup you need to connect a character LCD to it. Connect the character LCD If you want you can connect the LCD using different pins. You can specify the different pins in the initializer. Be sure to check the pin availability

Test

There is a sample application included to test the display. By default it should output 'Hello world!'. The app itself can be used to display a custom text on the LCD.

App

You can integrate this library into your own app. It is available on NuGet

Development

This library is not yet finished. I will try to extend and improve the library.

Contribute

If you find mistakes, things that could be done better, feel free to contribute!

Changelog

1.1.1.0

  • Bugfixes

1.1.0.0

  • Second line support. When a string is send to display, it will be automatically displayed on the second line when the sting is longer than 16 characters, or when '\n' is detected.
  • Shift display support (left/right)

1.0.0.0

  • Initial release

Copyright

Copyright (©) 2015 Bart Callant.

Distributed under the MIT License.

About

CharacterLCD is a .NET library to control a character LCD on the Raspberry Pi 2 running Windows 10 IoT Core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.6%
  • C# 26.4%