โครงงานที่11 เครื่องทดสอบสมาธิ หน้า 329 เลขที่ 14

code

void alarm (void);
void Vdelay_us(int time);


main()
{
TRISB=0xFC;
PORTB.F1=0;
while(1)
   {
while(PORTB.F2==0)
 {
while(PORTB.F3==1)
     {
alarm();
     }
 }
   }
}

ความคิดเห็น

บทความที่ได้รับความนิยม