I want to set a delay of 1s, I set internal oscillator with 4MZ, so TCY = 4/4MHZ = 1usso one second = 1us * 1000 000 so Delay10KTCYx(100); //delay one secnde 10kilo * TCY(4/4 = 1us)*100 = 10000*1*100 = 1000000 us = 1s but I got 10 seconds, not 1 second ,w..
↧