Posts

Showing posts from March, 2021

C Programming Language Tutorial

The C Language is developed by Dennis Ritchie for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc. C programming is considered as the base for other programming languages, that is why it is known as mother language. It can be defined by the following ways: Mother language System programming language Procedure-oriented programming language Structured programming language Mid-level programming language 1)  C as a mother language C language is considered as the mother language of all the modern programming languages because  most of the compilers, JVMs, Kernels, etc. are written in C language , and most of the programming languages follow C syntax, for example, C++, Java, C#, etc. It provides the core concepts like the  array ,  strings ,  functions ,  file handling , etc. that are being used in many languages like  C++ ,  Java ,  C# , etc. 2) C as a system programming language A system programmi

Micro Controller Notes

Image
  DAY 1: LED (Light Emitting Diodes) Light Emitting Diodes  ( LED ) is the most commonly used components, usually for displaying pins digital states. Typical uses of  LEDs  include alarm devices, timers and confirmation of user input such as a mouse click or keystroke. Interfacing LED Fig. 1 shows how to interface the  LED to microcontroller . As you can see the Anode is connected through a resistor to GND . the Cathode is connected to the Microcontroller pin. So when the Port Pin is HIGH the  LED  is OFF. when the Port Pin is LOW the  LED  is turned ON. Interfacing LED with  PIC16F887 We now want to flash a  LED in  PIC16F/18F Evaluation board . It works by turning ON a  LED  & then turning it OFF & then looping back to START. However the operating speed of microcontroller is very high.so the flashing frequency will also be very fast to be detected by human eye. The  PIC16F/18F Evaluation board  has eight numbers of point  LEDs . That 8 pins connected with I/O