C Programming Tutorial

 

Introduction

C programming language is easy to be learnt by having practical exercise in parallel with reading the tutorial. By only reading the C programming notes so many times without doing the practical exercises will make it very difficult to understand what is going on. It is the same like one people say to his or her friend that to ride a bicycle is very easily verbally, but practically it is obviously not easy until he or she try it himself.

Although it is not that easy but start to learn how to ride is really fun. Once you can ride the bicycle then only you can do other things like carrying friend at the back, carrying goods, riding with 1 hand on your handle or without touching the handle at all!.
For C programming it is the same. Before we can write a really good C program that can do things like stated below, we need to know the basic of C programming.


- Turn on lights/LED
- Open door with 4 pin number
- Open door with smart card
- Switch “ON” light at 6.30am in the morning
- Display “Good Morning” on LCD
- Display on LCD what we type on Keypad
- Create and display real time clock (e.g 10.15am) on LCD
- Display character on the Computer Screen from keyboard
- Receive input from keyboard and perform calculation
- Display text on the computer screen
- Many other tasks

 

Microcontroller

What is a Microcontroller?

Microcontroller Specification

Programming PIC16F877A

Playing with a C Programming and PIC16F877A

Creating a Digital Clock using PIC16F877A, LCD and DS1337 Clock IC from Dallas

How to Load Hex File into PIC16F877A

 

Articles :

Lightning Surge Testing

Bit Error Rate Testing

Insertion Loss Testing

 

Light Emitting Diode

DC Power Jack

Voltage Regulator and Diode

Transistor and Operational Amplifier

Trimmer Pot, Relay and PCB

 

Understanding PIC16F877A

Product Development Using PIC16F877A

More Product Development Using PIC16F877A

PIC16F877A Input Output Overview

Interfacing PIC16F877A With LCD

 

VoIP Basic

VoIP Phone

Using VoIP Through Normal PSTN Telephone

What is Codec?

 

C Programming Tutorial

Introduction

What is C programming language?

The First C Program

The First C Program - Explanation

Variables

Printf

Reading User Values

Scanf

Looping

Using FOR loop

Arrays

More on Arrays

Example Program that use Arrays to Compare 6 PIN number

If, Else If, Else

Functions

Pointers

Summary

 

 

 

 

 

 

 

 

Copyright www.electronics.netmyne.com.