Jump to content

Search the Community

Showing results for tags 'string'.



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 6 results

  1. Hi there, first of all sorry but I am a greenhorn in programming a ĀµController :-/ I set myself a new goal that I program a tiny tool to measurer timings of a self made shutter electronic for a camera. For this I would like to send a String by pushing button1 at my MSP430G2553 LaunchPad. The string should be sending via USB connection to PC and again to another USB Port. The hardware at the end of the second USB Port will drive a solenoid. The primary purpose is to measure the delay between sending at the LaunchPad and receiving the driver signal of the solenoid driver. The problem is, I have no idea how does the communication is possible :-/ At this days I understand how some ENERGIA examples does work and I can program some parts by my own. Possibilities of communication is totally new for me. Please could someone give me some tips on how to solve that ? I am grateful for all information.
  2. on MSP430G2553 mounted on launchpad I have a problem with converting an integer to a String: uint8_t x=10; uint8_t y=10; String xx = String(x,DEC); String yy = String(y,DEC); Serial.println (xx); Serial.println (yy); with Energia Vers 0101E0012 the result is 10 for xx and 10 for yy but i will to use Energia V17 to use LMP4 mode . the result is garbage for the two converted value --> xxx (three characters) then CR then xxx(garbage three characters) the other problem with Energia V 18 , i can not reprogram the chip (on Windows 9) error is : unable to find a device matching 0451:f432 The first problem is very strange for me. Is what someone can check. Thanks in advance
  3. on MSP430G2553 mounted on launchpad I have a problem with converting an integer to a String: uint8_t x=10; uint8_t y=10; String xx = String(x,DEC); String yy = String(y,DEC); Serial.println (xx); Serial.println (yy); with Energia Vers 0101E0012 the result is 10 for xx and 10 for yy but i will to use Energia V17 to use LMP4 mode . the result is garbage for the two converted value --> xxx (three characters) then CR then xxx(garbage three characters) the other problem with Energia V 18 , i can not reprogram the chip (on Windows 9) error is : unable to find a device matching 0451:f432 The first problem is very strange for me. Is what someone can check. Thanks in advance
  4. danielhuber

    String object strange behaviour

    I am running an MSP-EXP430G2 Lauchpad with an MSP430G2553 on Windows 7. The following code: ============================ #include <IRremote.h> String st; void setup() { Serial.begin(9600); st=String(); } void loop() { st=st+'2'; Serial.println(st); delay(200); } =============== produces following output: 2 22 222 2222 22222 222222 2222222 22222222 222222222 2222222222 22222222222 222222222222 2222222222222 22222222222222 222222222222222 2222222222222222 22222222222222222 222222222222222222 2222222222222222222 2 22 222 2222 ..... After a string length of 19 the string is cleared. Why? When exactly this happens depends also on additional code. With a MPU with lesser RAM I would guess that the RAM overflows, but 0.5kB of the MSP430G2553 should be large enough. Has anybody an explanation? cheers, Daniel
  5. xyiii

    Converting Float to String

    char final[6]; sprintf(final, "%.3f",current); Serial.println(final); When I put this code to calculate it prints only the "%.3f" I know floating point is not good to use for MSP430, but I do need the decimal places for my calculated results and need to convert to string pass on java socket. Or Can someone introduce me the fixed point calculation? many thanks!
  6. hello i am using TM4c123GXL. i am facing problem to Read the string on the Serial Port. Please give me idea ..how i can get my goal.... the function Serial.Read() return the integer .... i want to get the string ...how is this possible Thank you...
×