File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,9 @@ void ram(void)
77
77
lcdPrintln ("blurn" );
78
78
lcdPrintln ("underdamped blur" );
79
79
lcdNl ();
80
- lcdPrintln ("ENTER: respawn" );
81
- lcdPrintln ("DOWN/UP: overdamp" );
82
- lcdPrintln ("RIGHT: underdamp++" );
83
- lcdPrintln ("LEFT: exit" );
80
+ lcdPrintln ("DOWN/UP cool down" );
81
+ lcdPrintln ("LEFT/RIGHT heat up" );
82
+ lcdPrintln ("ENTER exit" );
84
83
lcdNl ();
85
84
lcdPrintln ("any key to start" );
86
85
lcdDisplay ();
@@ -126,7 +125,6 @@ void ram(void)
126
125
}
127
126
128
127
while (1 ) {
129
- random_seed ++ ;
130
128
{
131
129
// draw in screen resolution and repeat the high res image
132
130
uint lcd_pos = 0 ;
@@ -196,18 +194,17 @@ void ram(void)
196
194
197
195
case BTN_RIGHT :
198
196
for (uint i = 0 ; i < N ; i ++ ) {
199
- pixels [i ] /= 8.67 ;
197
+ pixels [i ] /= 8.58 ;
200
198
}
201
199
break ;
202
200
203
- case BTN_ENTER :
204
- srand (random_seed );
201
+ case BTN_LEFT :
205
202
for (uint i = 0 ; i < N ; i ++ ) {
206
- pixels [i ] = rand () ;
203
+ pixels [i ] /= 8.67 ;
207
204
}
208
205
break ;
209
206
210
- case BTN_LEFT :
207
+ case BTN_ENTER :
211
208
return ;
212
209
}
213
210
}
You can’t perform that action at this time.
0 commit comments