sure_7seg.h File Reference

#include "spi.h"
#include "pic_utils.h"

Include dependency graph for sure_7seg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sure_7seg_setup ()
 Setup ports and pins to communicate to Sure display.
*void sure_7seg_write_str (char *data)
 Display ASCII string to 7 segment displays.


Detailed Description

Routines to talk to Sure electronics seven segment displays

Ian Harris 2008 imharris [at] gmail.com

Released under the "do whatever you like with this but if you use it send me an email" license. Oh, and if it breaks, you get to keep both pieces.

Definition in file sure_7seg.h.


Function Documentation

void sure_7seg_setup (  ) 

Set up ports and pins as appropriate to communicate via SPI to Sure 7 segment displays

Definition at line 16 of file sure_7seg.c.

References spi_setup().

Here is the call graph for this function:

* void sure_7seg_write_str ( char *  data  ) 

Converts ASCII to the appropriate magic characters to display on a Sure 7 segment display. Only numbers 0-9 and space are implented for now.

Definition at line 37 of file sure_7seg.c.

References clear_pin, set_pin, spi_write_sure(), sure_7seg_convert(), and uns8.

Here is the call graph for this function:


Generated on Fri May 16 12:19:29 2008 for Pic Pack by  doxygen 1.5.5