Jump to content

Search the Community

Showing results for tags 'interrupt; time'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 1 result

  1. biza

    Bliking a LED every 500ms

    Hi, people I need some help,I do this code: #include <msp430g2553.h>/*MCU */ #define LED_VERMELHA BIT0 int SS = 0; int main(void){ WDTCTL = WDTPW + WDTHOLD; P1DIR |= (LED_VERMELHA); P1OUT &= ~(LED_VERMELHA); if (CALBC1_1MHZ ==0xFF || CALDCO_1MHZ == 0xFF) BCSCTL1 = CALBC1_1MHZ; DCOCTL = CALDCO_1MHZ; TA0CCR0 = 65500; TA0CCTL0 = CCIE; TA0CTL = TASSEL_2 + MC_1 + ID_3; _BIC_SR(GIE); /*ENABLE INTERRUPT*/ while(1){ } } #pragma vector=TIMER0_A0_VECTOR __interrupt void Timer_A(void) { /*TIMER0_A0 INTERRUPT SERVICE ROUTINE*/ SS++; P1OUT ^= LED_VERMELHA; } I would like to flash the LED every 500ms, but I can not make it work, can someone help me?
×