ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
// free sample code (copy and paste) T0CON = 0x87; // set TMR0: On, 16 bit,for (;;){ // simple blink programPORTBbits.RB0 = 1;TMR0 =0;while (TMR0 < 7812); PORTBbits.RB0 = 0;TMR0 =0; while (TMR0 < 7812); }}
// free sample code (copy and paste)
T0CON = 0x87; // set TMR0: On, 16 bit,
for (;;){ // simple blink program
PORTBbits.RB0 = 1;
TMR0 =0;
while (TMR0 < 7812);
PORTBbits.RB0 = 0;
TMR0 =0;
while (TMR0 < 7812);
}
}