Saturday, May 15, 2021

LED BLINKING

LED BLINKING 

                                                


  We are providing hardware products with reasonable cost and also guidance for implementation  with the help of  our staffs.So don't refuse to contact +91 7904189145
Materials required:
  • Energia software-version 1.8.7E21-windows
  • cc3200 launch pad
  • Jumper wire
Software description:
After installing the Energia software if you open you can able to see a empty window open files >> New

 


Program description:

In void setup  the input and output pins that we gonna use in the  cc3200 launch pad  are declared .
In this program we only need to use the led only so declare led as output. For the declaration use 'pinMode( )' inside the curly braces pin number of the led and its purpose should be declared (i.e:pinMode(pinnumber,output). for that just look over the pin diagram of cc3200 launch pad  given below

Hence we can conclude that we need to use pin.no:
29 to represent red LED, pin.no:9 to represent yellow LED and pin.no:10 to represent green .But for this program I gonna  use only red to blink .So declare 29 as output.



In void loop( ) the commands which are programmed to run repeatedly are declared.To make the led to blink we need to switch ON and OFF state of the LED. Switch the LED 'ON' by using the command digitalWrite(29,HIGH) after that declare a delay of 1000milliseconds by typing 'delay(1000)'.Using digitalWrite declare the same pin in OFF state and a delay of 1000 ms


Hardware description:
Before uploading this program to the launch pad make sure that the pin 2of SOP is connected to TCK pin .7








USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...