Jump to content

Search the Community

Showing results for tags '-std=c++0x'.



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. ive been trying to compile a sketch for about 3 days now, and ive finally gotten it down to one error, In file included from C:\Users\Matt\Desktop\...\energia-0101E0010\hardware\msp430\libraries\TimerSerial/stdint.h:32:0, from C:\Users\Matt\Desktop\...\energia-0101E0010\hardware\msp430\libraries\TimerSerial/inttypes.h:37, from C:\Users\Matt\Desktop\...\energia-0101E0010\hardware\msp430\cores\msp430/TimerSerial.h:27, from arduino.ino:1: C:\Users\Matt\Desktop\...\energia-0101E0010\hardware\msp430\libraries\TimerSerial/tr1/cstdint:34:28: fatal error: bits/c++config.h: No such file or directory compilation terminated. i know 'c++config.h' needs c++0x enabled to work, but i dont know how to enable it to compile with c++0x enabled. I dont care if certain things are out of date, i just need to know how to make this work. if you need my original sketch for some reason, here it is, #include <TimerSerial.h> #include <inttypes.h> #include <Servo.h> #include <stdint.h> Servo myServo; const int servoPin = 9; // the pin the servo is connected to int val = 0; // a value accumulated from data on the serial port int angle = 90; // the current angle of the servo void setup() { Serial.begin(4800); myServo.attach(servoPin); myServo.write(angle); // center the servo } void loop() { int value = map(analogRead(A0), 0, 1023, 0, 255); Serial.println(value); if ( Serial.available()); { char ch = Serial.read(); if(ch >= '0' && ch <= '9') // is ch a number? val = val * 10 + ch - '0'; // yes, accumulate the value else if(ch == '-') // is this the minus sign? { angle = angle - val; if(angle < 0) angle = 0; myServo.write(angle); // write the new angle val = 0; } else if(ch == '+') // is this the plus sign? { angle = angle + val; if(angle > 180) angle = 180; myServo.write(angle); // write the new angle val = 0; } } } any help with the error would be appreciated, thanks. edit: and by the way, im using the msp430g2231, and yes it is connected to a "serial" port, so to speak, this explains what i mean https://www.youtube.com/watch?v=1yEMZofNRyM
×