Code Monkey home page Code Monkey logo

nokia-5110-lcd-tivaware-graphics-driver's Introduction

TivaWare Graphics Driver for the Nokia 5110 LCD

Intro

A library for hooking up the Nokia 5110 LCD to the TivaWare graphics library for the Texas Instruments TM4C Arm Cortex-M4F device family.

This wraps the Nokia 5110 LCD driver found in this page: https://users.ece.utexas.edu/~valvano/arm/Nokia5110_4C123.zip

The TivaWare graphics library provides drawing primitives, text rendering, widgets, and more.

How to use

First, see Nokia5110.h for details on how you should connect your pins.

The lib directory contains the Nokia 5110 TivaWare graphics driver files along with the display driver files taken from the page above.

To use, include the Nokia5110_graphics.h header file and pass a pointer to the Nokia5110_driver tDisplay variable provided by the header to the TivaWare's GrContextInit function. You also need to call the Nokia5110_Init function exported from Nokia5110.h:

tContext context;
Nokia5110_Init();
GrContextInit(&context, &Nokia5110_driver);

Demos

The demo directory contains some simple example Code Composer Studio projects. Those were only tested for the TM4C123GXL launchpad in CCS, but they should work for any Tiva C series device, maybe after replacing the auto-generated startup code (tm4c123gh6pm_startup_ccs.c) and target configurations (Tiva TM4C123GH6PM.ccxml).

You need to set up a path variable named TIVAWARE_ROOT pointing to the location of the TivaWare library on your system for the demo projects to build in CCS.

TODO

I intend to add more demos as I learn more about the launchpad and TivaWare.

References

nokia-5110-lcd-tivaware-graphics-driver's People

Contributors

abdnh avatar

Watchers

 avatar

Forkers

dhananjay1512

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.