The web counter resource manager uses the following source files:
- main.c
- Standard main() and option-processing functions. Since this is such
a small example, the three resource manager callouts (io_open(), io_read(),
and io_close_ocb()) are present in this file as well.
- version.c
- This just contains the version number.
- 7seg.c
- This file contains the render_7segment() routine. It draws the graphical representation
of the 7-segment LED picture into the bitmap.
Apart from those files, there's also a fairly generic Makefile for building the executable.