Jump to content


  • Content Count

  • Joined

  • Last visited

  1. You probably don't need pinMode(TEMPSENSOR, INPUT) You may be affected by: https://github.com/energia/Energia/issues/351, which says that the definition for TEMPSENSOR is incorrect for the Launchpad boards.
  2. Thanks Rickta59 - splitting the print seems to work.
  3. Here is the sketch: /* Sketch for msp430g2231 showing println bug */ int Value = 0; /* fails at 10, works for 'unsigned int' */ void setup() { Serial.begin(4800); // msp430g2231 must use 4800 } void loop() { delay(100); Serial.println(Value); ++Value; } Here is what serial monitor shows: 0 1 2 3 4 5 6 7 8 9 JJJ)))
  4. Any ideas why a Serial.println would be OK for an int value of 9 but not for an int value of 10 ? Seems to work fine when passing 'unsigned long' values around, but not 'int' values, so I guess it's something to do with the signed integer, but it seems too basic a problem for it to have not been seen before! Configuration: LaunchPad MSP430G2 revision 1.4 with MSP430G2231, Energia 0101E0012, Windows 7. [Edited to provide configuration information]
  5. What is it? I haven't found anything even close to a good description on that site. http://erika.tuxfamily.org/ (the main site, not the wiki) has a pretty good overview of what RT-Druid and ERIKA Enterprise are:
  6. Sure, an RTOS is overkill for "something blinky", but to implement more complex solutions an RTOS might start to make sense. Exactly where that point is will depend on the problem. A "blinky" implementation under ERIKA Enterprise is going to look something like this (untested): #include "ee.h" /* configure timer A to give us periodic interrupts */ static void __inline__ timerA_init (void) { /* configure timer A to give us interrupts */ TACCTL0 = CCIE; /* source clock from SMCLK, continuous UP */ TACTL = TASSEL_2 | MC_2; } ISR2 (TIMERA0_VECTOR) { ActivateTask (
  7. Hi All. Just wanted to let you know of a port of RT-Druid and the ERIKA Enterprise OSEK/VDX-like operating system to the msp430, with support for the LaunchPad board added by me! http://erika.tuxfamily.org/wiki/index.php?title=TI_MSP430 RT-Druid is a set of plugins for the Eclipse IDE that let you configure the ERIKA Enterprise operating system - it includes a simple demo (using the on-chip ADC and temperature sensor to drive the LEDs, as always!) that can be used as a starting point for more complex programs. The msp430 support uses the mspgcc compiler, and is currently workin
  • Create New...