diff options
-rw-r--r-- | framebuffer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/framebuffer.c b/framebuffer.c new file mode 100644 index 0000000..9902fa1 --- /dev/null +++ b/framebuffer.c @@ -0,0 +1,14 @@ +#include<stdio.h> +#include<stdlib.h> + +int main( void ) { + printf("Here goes nothing!"); + getchar(); + FILE *fbp = fopen( "/dev/fb0", "w"); + int i; + for( i = 0; i < 1044480; i++ ) + fputc(i, fbp); + fclose( fbp ); +} + + |