Seven Segment display are of two types Common Cathode Common Anode Common Cathode:- In the common cathode type 7 segment displays, the –Ve terminal of all LEDs is connected to the COM pin. A 7 segment can be lightening up when +5v is given to the respective LED segment and ground connected to common. Common […]

I/O stands for Input/Output function. Example ATmega8 has 23 Programmable I/O Lines that can define as both input and output device. The I/O registers bellow- Let’s build our first program that content DDRx(Data Directions Register x) define the I/O initialization condition. If DDRx-> 1(set) the Output and DDRx-> 0(clear) Input. Conditional operator             expression

Relay ControlRead More »