Page 140 - MDP2020-2
P. 140
| 인천전자마이스터고등학교 ·············································································································
134
0xF80783FC, 0xF80FC3FC, 0xF81FE3FC, 0xF01FE1F8,
0xE01FE0F0, 0x1FE000, 0xF1FE03C, 0x1F8FC07E, 0x3FC780FF,
0x3FC000FF, 0x3FC0F0FF, 0x3FC1F8FF, 0x3FC3FCFF,
0x1F83FC7E, 0xF03FC3C, 0x3FC00, 0x3FC00, 0x1F800, 0xF1E0,
0x3F0, 0x7F8, 0xF007F8, 0x1F807F8, 0x3C0000},
//arrow
{0x0, 0x10, 0x18, 0xFC, 0x3000FE, 0x7800FE, 0xFC08FC,
0x1FE1800, 0x783F00, 0x787F00, 0x3C787F00, 0x3C003F00,
0x3C061800, 0xFF0F0800, 0x7E1F8000, 0x3C3FC000,
0x180F0000, 0xF0780, 0xF0780, 0x780, 0x1FE0, 0xFC0, 0x780,
0x10000300, 0x30010000, 0x7E018018, 0xFE0FC03C,
0xFE0FE07E, 0x7E0FE0FF, 0x300FC03C, 0x1001803C, 0x1003C}
};
unsigned int count=0;
void main(void)
{
unsigned int i;
DDRA=0xff; //솔벨브 1~8
DDRB=0xff; //솔밸브 9~16
DDRC=0xff; //솔밸브 17~24
DDRD=0xff; //솔밸브 25~32
//DDRE=0x03; //플로트스위치 , 모터구동부
while(1)
{
if(count<6) print(shapes[count]);
else if(count<15)
{
for(i=0; i<3; i++)
{
print(names[count][i]);
}
}
else
{
print(test);
print(thankyou);
}
count++;
count%=15;