_draw_rect( 24, 11, 80, 70, 1, -1);
draw_rect( 34, 21, 60, 50, 1);
+ fill_circle( 64,46, 45, 1 );
+ fill_circle( 64,46, 40, 0 );
_draw_circle( 64,46, 35, 1, -1 );
draw_circle( 64,46, 30, 1 );
- fill_circle( 64,46, 25, 1 );
- fill_circle( 64,46, 20, 0 );
- fill_rect( 44, 31, 40, 30, 1);
- fill_rect( 54, 41, 20, 10, 0);
+ fill_rect( 38, 25, 52, 42, 1);
+ fill_rect( 41, 28, 46, 36, 0);
+
+ //fill_rect( 54, 41, 20, 10, 0);
for (;;)
{
PORTB ^= 0x002;
+ for ( int j = 0; j < 92; j++ )
+ {
+ draw_line(0,0,128,j, 2);
+ draw_line(128,0,0,j, 2);
+ draw_line(0,92,128,92-j, 2);
+ draw_line(128,92,0,92-j, 2);
+
+ Delay_ms(2);
- for ( int j = 8; j < 89; j++ )
+ }
+ for ( int j = 0; j < 92; j++ )
{
- draw_line(8,88-j,120,j, 2);
- draw_line(120,j,8,88-j, 2);
- Delay_ms(5);
- draw_line(8,88-j,120,j, 2);
- Delay_ms(5);
+ draw_line(0,0,128,j, 2);
+ draw_line(128,0,0,j, 2);
+ draw_line(0,92,128,92-j, 2);
+ draw_line(128,92,0,92-j, 2);
+
+ Delay_ms(2);
+
}
- Delay_ms(150);
+ Delay_ms(250);
}
}