sure_7seg.c File Reference

#include "sure_7seg.h"

Include dependency graph for sure_7seg.c:

Go to the source code of this file.

Functions

uns8 sure_7seg_convert (uns8 digit)
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.


Function Documentation

uns8 sure_7seg_convert ( uns8  digit  ) 

Definition at line 21 of file sure_7seg.c.

Referenced by sure_7seg_write_str().

Here is the caller graph for this function:

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 Tue Jul 22 09:32:56 2008 for Pic Pack by  doxygen 1.5.5