simulation supports scrolltext now. Own pgmspace.h added which works around pgmspace functions not being available on PC.
This commit is contained in:
parent
1598091e0c
commit
9917c5b72b
6 changed files with 25 additions and 14 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue