Wednesday, 25 July 2012

WEEK 4 - 2nd Day (17 JULY 2012 )

Assalamualaikum and Salam satu Malaysia.


Today , we lwarning about Program CCS.

AT ----> OK---> AT+CMGF=1 ---> OK----> ATE O ---> OK ---> AT +CMGS +CTRL.Z



C Programming CCS



  • Why use C programming CCS ----> portable language
  • Preprocessor directive ----> #include <16f877.ah>                                                                          
                                                                 #use delay < clock=2000000>
  • Main program ----> void main -->intterupt --> main program
                                    ----->set_trisc_c
  • Loop statement
  • #include --> header file c with.h extension
                           --> angle bracket "<"and">" indicate the compiler to look for predefined include file directories.
                          --> without angle --> "myfile.h"

  • Escape squence --> " to display"\"blackspalsh
  • \'to display' single quate

No comments:

Post a Comment