Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by danieldlo09

  1. Sorry i haven't replied earlier but i was on a travel i will get on this!!!
  2. Hi again, maybe you guys are getting tire of me by now, but i'm trying to make the exercises and all what appears on the tutorial http://www.43oh.com/2010/08/10-beginner-msp430-tutorials-and-counting/. Well, i got count = contador(); for (j=1; j<count; j++){ P1OUT |= LED_L + LED_R; delayfun(); P1OUT &= ~(LED_L + LED_R); delayfun(); } it turns out that, it calls the function contador() normally and it do what it has to do, but when it has to call the function delayfun(), it skip it. and both of the functions are declared void delayfun (void); int unsigned contador (void); int main
  3. Yeah, it worked!!!. I hadn't tried it because i was focused in the "variables" tab and there was not enable. But in the Expressions tab it was enable.
  4. In CCSvs5 in the debugger i can't see the global variable that i declared, altougth it work perfectly when i run the code. This variable should appear, doesn't it? how do i do to see it?
  5. Hi, I'm Daniel and i'm from Colombia. I'm an electronic enginer student and i'm trying to make my own chess clock
  6. You're totally rigth, the tutorial says so too, maybe i didn't understand it well before because english is not my native language, but now i re-read the tutorial seeking what you're saying i realized that it is perfectly clear in the tutorial, again thanks
  7. i think in the first line you should put between <> the header file #include <energia.h> or put the header file of your micro for example #include <msp430g2552.h>
  8. Not so long ago i bougth the LaunchPad MSP-EXP430G2 and ordered some free samples of MSP430g2152, later when i was doing testing codes i checked that when i assign an output to the P1OUT register, the P1IN register take the same value that the P1OUT, This was odd to me, so i went to the datasheet of the msp430 family and as i was expecting the registers have two different address (P1IN 020h and P1OUT 021H), now i don't know if i have something wrong in my code or if in fact the microcontroller change both registers. Can anyone explain me what's going on or if it is normal? I'm using Code Compo
  • Create New...