saramah
Member level 3
All things are going correct in my clock with rtc and 6-digit 7segments to display the h/m/s coded in xc8.
I intend to put led in between hour and minute segments that will blink every 500 mses ON and 500msec OFF. For that I dont want to configure it with timer inerrupt.
With the below code, and this has been put under //main()
If I use delay loop, instead of above inbuilt delay function(" __delay_ms()" ), the same things is happening,
The things are,
When start sumulation in proteus, the display of all segments are disappearing due to this delay and again appearing and continue the things coninuously in same manner.
So, how can i get rid of from this manner.
thx
I intend to put led in between hour and minute segments that will blink every 500 mses ON and 500msec OFF. For that I dont want to configure it with timer inerrupt.
With the below code, and this has been put under //main()
Code C - [expand] 1 2 3 4 LEDPORT|=1<<secLed; __delay_ms(500); LEDPORT&=~(1<<secLed); __delay_ms(500);
If I use delay loop, instead of above inbuilt delay function(" __delay_ms()" ), the same things is happening,
The things are,
When start sumulation in proteus, the display of all segments are disappearing due to this delay and again appearing and continue the things coninuously in same manner.
So, how can i get rid of from this manner.
thx