T6963c Library

From Wiki

(Difference between revisions)
Jump to: navigation, search

Sk (Talk | contribs)
(New page: de:T6963c Library {{ProjectFeatures}} __TOC__ ==Introduction== This is a driver-library for displays with T6963c controllers. Note that this library does '''not''' implement high level...)
Next diff →

Revision as of 10:43, 27 May 2008

Features

Contents

Introduction

This is a driver-library for displays with T6963c controllers. Note that this library does not implement high level functions like drawing circles or rectangles.

Files

  • main.c -> Sample
  • T6963c.c -> Library source file
  • T6963c.h -> Library header file
  • CharGen -> Excel sheet for creating custom chars

Library

The Library itself is located in the files T6963c.h and T6963c.c. The header-file (.h) has to be included by another source-file (.c) and T6963c.c has to be included within the makefile respectively the project.

The base-functions of the library are marked as inline, which will speed up the library. But in case you want to save some ROM space, you can simply change

  1. static inline __attribute((always_inline))__

to

  1. static

.

The delay-functions within the library are fixed to a master-clock of 20MHz (for Mega644 for example). They are realized through 1-3 NOP instructions. If the mikrocontroller's clock source is lower than the 20MHz, you can safely remove some of the NOP instructions.

The pinout, memory mapping and size of the display can be configured in T6963c.h.

If you want to convert images to C-arrays, you can use the tool bmp2c made by Holger Klabunde (use Google).

Personal tools
In other languages