simulation supports scrolltext now. Own pgmspace.h added which works around pgmspace functions not being available on PC.

This commit is contained in:
tixiv 2008-12-05 02:53:09 +00:00
commit 9917c5b72b
6 changed files with 25 additions and 14 deletions

View file

@ -87,6 +87,15 @@ void off()
#endif
#ifdef ANIMATION_SPIRALE
void walk(cursor* cur, unsigned char steps, unsigned int delay){
unsigned char x;
for(x=0;x<steps;x++){
set_cursor(cur, next_pixel(cur->pos, cur->dir));
wait(delay);
}
}
void spirale(unsigned int delay){
clear_screen(0);