Show Posts
Pages: [1]
1  Development / Other Software Development / Re: 5 or 6 wire (4 wire control) on: September 22, 2012, 11:04:33 am
Is im my public dropbox.
https://dl.dropbox.com/u/3798238/StepMotor_plus_lib.zip
2  Development / Other Software Development / 5 or 6 wire (4 wire control) on: September 22, 2012, 01:50:37 am
hello.
I rewrote the Stepper library in order to control stepper motor with one or two phase (low power and hi-torque already implemented).
where to can I send the files or code?
reguards.
3  Development / Suggestions for the Arduino Project / Re: Report bug... WString Replace("xxx","yyy") on: February 23, 2012, 12:56:52 pm
I.
Probably it works with another complier.

by the way, the example "string remove" also need correction. replace return void...
Code:
/*
  String replace()
 
 Examples of how to replace characters or substrings of a string
 
 created 27 July 2010
 by Tom Igoe
 
 http://arduino.cc/en/Tutorial/StringReplace
 
 This example code is in the public domain.
 */

void setup() {
  Serial.begin(9600);
  Serial.println("\n\nString  replace:");
}

void loop() {
  String stringOne = "<html><head><body>";
  Serial.println(stringOne);
  // replace() changes all instances of one substring with another:
  stringOne.replace("<","</");
  String stringTwo = stringOne;
  Serial.println(stringTwo);

  // you can also use replace() on single characters:
  String normalString = "bookkeeper";
  Serial.println("normal: " + normalString);
  normalString.replace('o', '0');
  String leetString = normalString;
  leetString.replace('e', '3');
  leetString = leetString;
  Serial.println("l33tspeak: " + leetString);

  // do nothing while true:
  while(true);
}
4  Development / Suggestions for the Arduino Project / Report bug... WString Replace("xxx","yyy") on: February 09, 2012, 06:56:52 pm
I.

please replace this line in the WString.h file

void replace(const String& find, const String& replace);
by
void replace(const String &find, const String &replace);

Tanks...
Pages: [1]