Add simple static screen based on idea by SvOlli

This commit is contained in:
Stefan `Sec` Zehl 2011-08-12 20:13:19 +02:00
parent 426972d291
commit d8d056e5ef
1 changed files with 33 additions and 0 deletions

33
firmware/l0dable/static.c Executable file
View File

@ -0,0 +1,33 @@
#include <sysinit.h>
#include <string.h>
#include "basic/basic.h"
#include "basic/config.h"
#include "basic/random.h"
#include "lcd/render.h"
#include "lcd/display.h"
#include "lcd/fonts.h"
#include "lcd/fonts/invaders.h"
#include "funk/mesh.h"
#include "usetable.h"
void ram(void)
{
int x, y;
while( getInputRaw() == BTN_NONE ) {
for( x = 0; x < RESX; x++ ) {
for( y = 0; y < RESY_B; y++ ) {
lcdBuffer[y*RESX+x]=getRandom()&0xff;
}
}
lcdDisplay();
}
return;
}