List/Grid Tag Archives: timer
Tutorial 1-PIC Timer Programming In C
So far we are able to provide delay by using for loop, Now in this tutorial we are going to learn how to program PIC Timer in C language. PIC Microcontroller(18f4550) has 4 Timers – Timer 0,Timer 1,Timer 2,Timer 3 Many of PIC 18 timers are 16 bit wide. PIC 18 has 8 bit Architecture so 16 bit timer is accessed as two separate registers of low byte(TMRxL) and high…
How To Fade Out Windows Form Before Closing
You want your form to fade out before it gets closed when user clicks on close button. You can achieve this using Timer control and every time timer ticks, you have to decrease the opacity of your form just a bit. Instruction: In your form, insert new Timer control from toolbox. You will see timer1 control at the lower bar as i have in the following image. Now double click…