Go Down

Topic: shoot yourself in the foot (Read 1 time) previous topic - next topic

Vaclav

Nov 07, 2014, 04:46 pm Last Edit: Nov 08, 2014, 10:19 am by Vaclav
Can you spell "shoot yourself in the foot"?

Here is a nice message I got from Arduino IDE. 

AWOL

Can you spell "shoot yourself in the foot"?

Here is a nice message I got form Arduino IDE. 
Can you spell "from"?
:D

SirNickity

That's actually refreshingly honest, IMO.  The IDE is very limited, and when users start running into those limitations, it's probably best to move onward and upward.

GoForSmoke

You might try a look at Code::Blocks Arduino version. It is free.
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

Vaclav

Thanks, but it will not play nice with Due, per info posted , maybe later.
Cheers Vaclav

GoForSmoke

Hey, Code::Blocks itself is cross platform.

And here is

ARM based Development Using Code::Blocks

http://embeddedsystemdesignhub.blogspot.com/2010/02/arm-based-development-using-codeblocks.html

So you get the full IDE with watch and trace that the Arduino doesn't have. Oh! How terrible!

Another reason for me to conquer my phobia for soldering pins in the Teensy 3.1.
It's just that everything is so close and tiny that just a bit of overheat or a slip and bye-bye board!
I remember hearing about heat sinks, would thin needle nose pliers do? Or some kind of clip?

Don't these ARM's have debug pins of some kind?
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

Vaclav

Well, I just found a big bug in my code. Trying to use double array pointers and without debugger it  is soo much fun. I'll get the Code Block try soon, I have read few comments on their site - my favorite is " that Notepad IDE". As far as soldering SMT pins they say you should use paste and just run the iron over the pins - it should just flow where it suppose to. Than use solder wick to clean possible bridges.
It sounds reasonable, but I have never tried it.
I was actually looking to "upgrade" to Teesy and so far Due is lots of " AVR " code only. Seems Arduino inc builds hardware and lets "volunteers" to do the software. Nice way to run "for profit" business.

Good luck.

JoeN

It seems to be part of Processing, not Arduino in particular, though the code is copied in

Code: [Select]
// Don't let the user create the main tab as a .java file instead of .pde
if (!isDefaultExtension(newExtension)) {
  if (renamingCode) {  // If creating a new tab, don't show this error
    if (current == code[0]) {  // If this is the main tab, disallow
      Base.showWarning("Problem with rename",
                       "The main file can't use an extension.\n" +
                       "(It may be time for your to graduate to a\n" +
                       "\"real\" programming environment)", null);
      return;
    }
  }
}

http://processing.googlecode.com/svn-history/r9410/trunk/processing/app/src/processing/app/Sketch.java
I will never ask you to do anything that I wouldn't do myself.

GoForSmoke

As far as soldering SMT pins they say you should use paste and just run the iron over the pins - i
After looking at the 3.1 with pins picture I see what to do. If I can solder the headers in from the underside the pins will be on the other side of the board. Hehe.
 
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

AWOL

Trying to use double array pointers
On the 8-bitters, "double"s are the same as "float"s (32 bit IEE754), but the compiler knows this and adjusts its pointer arithmetic accordingly.
Unless you're doing something dumb like anonymising the pointers with casts to "void" or "char" and doing the arithmetic yourself, it's hard to see how you could go wrong.

Go Up