//範例7-5c:顯示分、秒的數字時鐘 //檔名: ch7_5.c #include "seg7.h" main() { int mins=0,secs,i; int reptime=250*60; //設定重複顯示次數 while(1){ for(i=0;i