Write C code for Atmega32 programming for the following scenario:
use a 7-segment Commont Anode Display.
Now connect PORTC pin no. 0 to 6 with the display and display 8
Write C code for Atmega32 programming for the following scenario:
Create a LED pattern with 8 LEDs which will represent the BCD value 0000 1000
The pattern will then start to loop in the following order.
Loop:
{
First 0000 will be on and 1000 will be off for 2.5 seconds.
Next, 0000 will be off and 1000 will be on for 2.5 seconds.
Next all 0000 and 1000 will be on for 2.5 seconds.
Next all will be off for 2.5 seconds.
}
1. Define priority encoder. How to represent a priority encoder by using truth tablea nd draw a diagram. Differentiate between encoder and decoder.
2. Define MUX and DEMUX. Where we use mux and demux system? How toc reate a 16:1 MUX by using 4:1 MUX with a truth table and draw a diagram for this MUX
3. Define latch and flip flop. Describe upon Master-Slave J-K Flip Flop by using figure and truth table.
4.Differentiate between sequential and combinational circuit with example. Describe and draw the 3 bit Synchronous and asynchronous Binary counter.
What is the role of Sound in designing an interactive system, Mention at least two examples to support your answer.
Build the CLR (1) parsing table for the following grammar whose finite-state
machine is shown,
S → A
A → aB | b
B → b
Enumerate the differences between Email and website address