At that point of time, I did not have a lot of possibilities to buy any commercial development board, so I had to make my own
I wanted to make a small board, not those huge with everything you can imagine, and, perhaps, never going to use. A 3d model shows what I wanted and what I made: 4 buttons + 4 LED hanging on the PORTB. There is also one button and one LED for PORTA. Everything can be disconnected from the microcontroller using the dip switch.
What do we have: PIC16f628a, a handmade devboard, and proteus
Continuing to learn pic microcontrollers, and the timer1 is the next module in our way. Usually, this is a 16bit timer, so it allows to have a larger time frame.
Interruptions are one of the great things about microcontrollers, if you want to do something fast, reliable, and simple… well, not exactly simple in a programming language sense perhaps, but really simpler from the hardware perspective point of view. So, the main purpose of interruption is to interrupt your main program cycle and do whatever you want in case of that event (a timer has reached the settled time, a button has been pressed, and so on). Here is the picture from the mikroe ebook (www.mikroe.com), just because they really made quite nice pictures and quite a nice manual by the way.