EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / LED IS NOT BLINKING

LED IS NOT BLINKING

|

Microcontroller › PIC › LED IS NOT BLINKING

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 11 months ago by Manmohan Singh.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 14, 2013 at 5:27 am #2113
    Manmohan Singh
    Participant

    HI everyone,

     

    I am new to PIC and just trying to blink a LED on proteus, but the program is not working.

    can anyone give me some useful suggestion.

     

    my program is ..

     

    void main()
    {
         TRISB=0x00;

         while(1)
           {
                 PORTB=0x00;
                 delay_ms(100);
                 PORTB=0xFFFF;
           }
    }

     

     

     

    and in proteus I have just connected to led to pic.

    February 14, 2013 at 7:02 am #9128
    Syed Aameer
    Participant

    void main()
    {
         TRISB=0x00;

         while(1)
           {
                 PORTB=0x00;
                 delay_ms(100);
                 PORTB=0xFF;//its a 8 bit microcntroller

                 delay_ms(100);
           }
    }

     

    still u cant find blinking led increase the value of delay and check.

     

     

    All the best

    February 14, 2013 at 7:23 am #9130
    Manmohan Singh
    Participant

    hello Syed

     

    I have increased the delay but it is not working. do u think that I have to connect extra circuitry like oscillator, ground,power etc.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • renewed interest in old project I call it WICKED 8 January 23, 2026
  • Expensive hobby January 23, 2026
  • analog logic of shmidt trigger bjt circuit January 23, 2026
  • getting no where fast 8 x 8 led matrix January 23, 2026
  • Micro mouse January 22, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise