Skip to content

Instantly share code, notes, and snippets.

@duckinator
Created December 22, 2009 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duckinator/261487 to your computer and use it in GitHub Desktop.
Save duckinator/261487 to your computer and use it in GitHub Desktop.
#include <metodo/metodo.h>
void FooDisplayInit ()
{
// This would initialize the display
}
void FooDisplayChar ( char c )
{
// This would display a single character
}
void FooDisplayClear ()
{
// This would clear the display
}
struct DisplayDevice FooDisplayDevice = {
.Init = FooDisplayInit,
.DisplayChar = FooDisplayChar,
.DisplayClear = FooDisplayClear,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment