Goal: use of comparator
What we have: PIC16f628a, proteus
Sometimes, we want to stop our program for a short time, perform some operations and run program from sttoping part (for example if timer was crowded or button was pressed). There is a great map of interrupts in pic microcontrollers from mikroe (look at the picture below).
I’ve assembled my devboard and maybe it’ll be helpful for somebody.
Goal: to show digits on seven segment indicator.
What we have: pic16f628a and 7-segment indicator with common cathode, shift register 74hc164.
From the start – I’ve used shift register because it’s very wasteful to use 8 pins of uc for one 7-segment indicator. With this shift register we can use only 4 pins:
There is no description of the shift register work, just about 7-segment indicator.
So, for the begining, let’s build simple test setup and write code, which will display all digits with 1s period (like a stopwatch:)).
Our goal: To make 5Hz frequency pulses.
What we have: PIC16f628a.
Tmr0 is a widely used timer and it has next useful stuff:
For successful update of a system, it’s necessary to connect your ISO file in the Yast and to give it name (ISO11_3 for example) and to turn off all other repos.
The next step is typing command in a terminal:
zypper dup -r ISO11_3
And just read what you need to do (type yes or no) and wait for complitely update.