Show Posts
Pages: [1] 2 3 ... 1893
1  Using Arduino / Programming Questions / MOVED: DmxSimple on: Today at 09:57:55 am
This topic has been moved to Arduino Due.

http://forum.arduino.cc/index.php?topic=263587.0
2  Using Arduino / Installation & Troubleshooting / Re: BIG Problem - Arduino son't start after upload program on: Today at 09:54:02 am
All the constant strings use up RAM.
The "F()" macro tells the compiler to leave them in flash.
3  Using Arduino / Project Guidance / Re: Coding Assistance (Arduino ) for a Dual Rotor Copter on: Today at 09:40:32 am
Try this
4  Using Arduino / Installation & Troubleshooting / Re: BIG Problem - Arduino son't start after upload program on: Today at 09:38:55 am
Well, if you won't post your code then I'll guess shall I?

Change all your print/println statements to the format:

Code:
Serial.print(F(“Hello World”))
Yup, I'd go with RAM over-use too.
5  Using Arduino / Programming Questions / Re: help with for loop on: Today at 09:36:56 am
Code:
      switch(asd)
      {
      case true:
        for(int k=0;k<5;k++)
        {
          Serial.print(tagIn[k]);
          Serial.println("\nAuthorize");
        }
        break;
      case false:

        Serial.print("\nnot Authorize\n");
        break;
      }
What, no "default" case?
6  Using Arduino / Programming Questions / MOVED: cambiar estado de 3 reles al mismo tiempo on: Today at 06:35:20 am
This topic has been moved to Español.

http://forum.arduino.cc/index.php?topic=263549.0
7  Using Arduino / Installation & Troubleshooting / Re: I can't get the tone library to load ! on: Today at 06:33:24 am
How can this be "urgent!!" ?
This thread's over two years old.
8  Using Arduino / Project Guidance / Re: can this GPS can work with Arduino? on: Today at 05:32:18 am
To get gps data at least 2 satellite must be locked

That would be four satellites for a position fix.
9  Using Arduino / Project Guidance / Re: First project: too much choice. on: Today at 04:55:41 am
http://arduino.cc/en/Main/Robot ?
10  Using Arduino / LEDs and Multiplexing / Re: 'F' was not declared in this scope on: Today at 02:13:58 am
Ok, thanks for the heads-up
+1.
11  Using Arduino / Programming Questions / Re: Anyone please help me on: Today at 02:07:52 am
Much simplified "displayLine" (uncompiled, untested)
Code:
const uint8_t ledPin [] = {LED0, LED1, LED2, LED3, LED4, LED5, LED6, LED7, LED8, LED9};
const uint8_t N_LEDS = sizeof (ledPin) / sizeof (ledPin [0]);
// simple "for" loop in "setup()" sets the pin modes.


void displayLine(int line)
{
  for (uint8_t i = 0, int mask = 1 << N_LEDS; i < N_LEDS; i++, mask >>= 1)
  {
    digitalWrite(ledPin [i], line & mask ? HIGH : LOW);
    // or just simply
    // digitalWrite(ledPin [i], line & mask);
  }
}
12  Using Arduino / Programming Questions / Re: Arduino projects book project 6 on: Today at 01:57:19 am
Code:
analogRead(3);  //can only mean A4
Well, I'm glad that's clear.  smiley-wink
13  Development / Suggestions for the Arduino Project / MOVED: Another ultrasonic 3d mapping interfaced with Unity3d. on: Today at 12:48:14 am
This topic has been moved to Exhibition / Gallery.

http://forum.arduino.cc/index.php?topic=263480.0
14  Using Arduino / Programming Questions / Re: Urgent, Please help fix compiling code error on: Today at 12:44:30 am
Code:
if ((dataIn >= '0') && (dataIn <= '9')){ //is it a number?
              velocity = (dataIn - '0') *25;
15  Using Arduino / Programming Questions / Re: i have problem with the code for the second ultrasonic sensor on: August 27, 2014, 03:20:06 pm
Code:
distance= distance/65;                        // divide by 58 gives cm.
Which?
Code or comment?

Maybe put in some serial prints and lose some blank lines.
Pages: [1] 2 3 ... 1893