GLCD Library
A C Library for Embedded Applications
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
unit_tests.h File Reference

Various test functions to demonstrate features of the library. More...

Go to the source code of this file.

Macros

#define GLCD_UNIT_TEST_BITMAP_ENABLE
 

Functions

void glcd_test_bitmap_128x64 (void)
 Demonstrate bitmap display. More...
 
void glcd_test_circles (void)
 Make random "exploding circles". More...
 
void glcd_test_counter_and_graph (void)
 
void glcd_test_hello_world (void)
 Print hello world to display. More...
 
void glcd_test_rectangles (void)
 Demonstrating rectangle drawing. More...
 
void glcd_test_scrolling_graph (void)
 Demonstrate scrolling bar graph. More...
 
void glcd_test_text_up_down (void)
 Scroll some text up and down the screen. More...
 
void glcd_test_tiny_text (void)
 Display all chars of tiny 5x7 font, scrolling previous lines one by one every second. More...
 

Variables

volatile uint8_t unit_test_return
 Fonts. More...
 

Detailed Description

Various test functions to demonstrate features of the library.

Author
Andy Gock

Definition in file unit_tests.h.

Macro Definition Documentation

#define GLCD_UNIT_TEST_BITMAP_ENABLE

Definition at line 38 of file unit_tests.h.

Function Documentation

void glcd_test_bitmap_128x64 ( void  )

Demonstrate bitmap display.

Definition at line 286 of file unit_tests.c.

void glcd_test_circles ( void  )

Make random "exploding circles".

Definition at line 67 of file unit_tests.c.

void glcd_test_counter_and_graph ( void  )

Definition at line 101 of file unit_tests.c.

void glcd_test_hello_world ( void  )

Print hello world to display.

Definition at line 201 of file unit_tests.c.

void glcd_test_rectangles ( void  )

Demonstrating rectangle drawing.

Definition at line 212 of file unit_tests.c.

void glcd_test_scrolling_graph ( void  )

Demonstrate scrolling bar graph.

Definition at line 264 of file unit_tests.c.

void glcd_test_text_up_down ( void  )

Scroll some text up and down the screen.

Definition at line 130 of file unit_tests.c.

void glcd_test_tiny_text ( void  )

Display all chars of tiny 5x7 font, scrolling previous lines one by one every second.

Definition at line 167 of file unit_tests.c.

Variable Documentation

volatile uint8_t unit_test_return

Fonts.

Definition at line 48 of file unit_tests.c.