Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 40
61  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 23, 2013, 12:45:40 pm
Maybe the goals & purpose of this library spec aren't clear?

Bill's been talking a lot about whether the IDE offers incompatible libraries and examples.  But I can't find any mention of that actually being an intended goal.  If the metadata is going to be used to filter what libraries, examples and other options are offered to users, I can't find anything written about how that's supposed to work.

The spec does talk about 2 goals: #1: facilitating a library manager that automatically downloads libraries from a central server, and #2: supporting multiple architectures.


Regarding multi-arch support, I must agree with Bill, requiring a directory structure that isn't compatible with 1.0.X is obviously going to lead to very slow adoption of this spec.  As the author of several libraries and the current maintainer of several more, it's pretty easy to choose between publishing in a format that works on all widely used Arduino IDEs, versus a format that only works on the newest.

Cristian, I'm really glad you said this:

Quote
First I want to reassure you that if you want to stick to the 1.0 lib format, you can safely do that, we are not going to remove old library support. We already discussed that (in a google issue maybe? I can't remember), so I don't know why you're so concerned about that yet.

I'd like to point out some language near the end of the spec, which might be the source of concern:

Quote
At some point in the future, the IDE will drop pre-1.5 library support. There is no specific timeline for this, it will be determined once the new library format has become widespread.

Maybe this part of the spec should be updated, if you're really committed to keeping the old format supported?
62  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 22, 2013, 03:57:08 pm
Yes, I've had many extremely frustrating occasions try to contribute to Arduino.

Since then, the leadership has changed.  I'm not saying things are perfect now.  But I do consider the worse of those experience to be old and in the past, now that Cristian is the technical lead for Arduino.
63  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 22, 2013, 01:41:09 pm
Also, I just use the term "final spec", but honestly I have no idea if the spec really is finalized or open to changes?
64  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 22, 2013, 01:32:55 pm
Bill, while you're made some good points, you've also used some pretty strong language.

In particular, I would disagree with your opinion that this spec was "done in a vacuum without the input of the 3rd party library and tool developers".  Months ago, Cristian did post this spec to the developers mail list.  Input was requested.  How much useful input was actually given, and to what extent that input shaped the final spec is a good question, but it was far from "in a vacuum without the input".

I think your point about the technical limitations could be better made with less harsh rhetoric.
65  Development / Other Software Development / Re: divmod10() : a fast replacement for /10 and %10 (unsigned) on: October 18, 2013, 03:42:08 pm
If you do write up a good proposal on the developer mail list and Cristian replies favorably (really, anything other than saying no or probably not), perhaps I'll adopt it for Teensyduino 1.17 or 1.18?  I just posted the first release candidate today.  I don't have a deadline for 1.17, but unless there's any problems or other urgent stuff to add, I'll probably release sometime next week.

I can't see the harm in placing this into a header where it can be used by libraries.  There just needs to be some consensus from Arduino (where really, Cristian's voice is the only one that matters) so I don't end up publishing this in a way that will later break when/if they do it.
66  Development / Other Software Development / Re: divmod10() : a fast replacement for /10 and %10 (unsigned) on: October 18, 2013, 01:27:24 pm
I think it's a good idea.

But I also find proposing stuff on the developer mail list to be exhausting.  I'm not personally planning to propose it and respond to the many "bike shedding" replies that are likely to result.

If you propose it, I'll chime in with a "+1".  When/if Arduino publishes it, I'll adopt whatever naming and header file convention they use.
67  Development / Other Software Development / Re: divmod10() : a fast replacement for /10 and %10 (unsigned) on: October 18, 2013, 09:55:12 am
I published a Teensyduino release candidate today, which includes Stimmer's optimization.

http://forum.pjrc.com/threads/24393-Teensyduino-1-17-Release-Candidate-1-Available

Thanks to everyone who worked and contributed to this awesome speedup.  Soon it'll be in widespread use on Teensy 2.0 and Teensy++ 2.0 boards.  smiley
68  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 15, 2013, 07:13:43 am
I don't have much to add at the moment, but I'd like to let you know I'm following this discussion.

Sometime next year I'm planning to create a makefile + utility (a native command line program, compiled for all platforms) that more faithfully replicates Arduino's build process.
69  Products / Arduino Due / Re: Problem using multiple serial ports on due on: October 15, 2013, 04:21:50 am
Have you tried using Serial.begin() on due with a baud rate of 38400 or faster?  Or anything more than double the 2 incoming baud rates, so Due is always capable of retransmitting the data...
70  Products / Arduino Due / Re: OneWire in Due on: October 08, 2013, 03:28:15 pm
Yes, it's possible to use git to obtain the source from any point in Arduino's history.  You'll only get the source code, so you'll need to build it yourself (easy on Linux & Mac, requires setting up lots of stuff for Windows).

I'm not an expert with git & github.  You'll need to look for info online (there is a lot of info on may sites), or find someone who's more knowledgeable about git to help you.
71  Products / Arduino Due / Re: DUE PWM Frequency on: October 04, 2013, 08:10:11 am
It's unfortunate these new API ideas, which have been agreed upon in principle (usually after much conversation on the developer mail list) don't get implemented or even documented in the official Arduino software.

If this had been a documented part of the API, even as "coming in a future version", odds are good Intel would have incorporated variable frequency into their I/O scheme on the new Galileo board.  Looking through their code, it seems they did special support for the pulse generation for Servo.

Then again, I could do far better at documenting stuff for Teensy.  Maybe next year I ought to slow down on the tech side and focus on that?
72  Products / Arduino Due / Re: Scope images from my counterfeit DUE on: September 26, 2013, 05:17:14 pm

Yeah, I figured it was one of those.
73  Products / Arduino Due / Re: Scope images from my counterfeit DUE on: September 25, 2013, 01:54:11 pm
Which scope is this?  Is it one of those USB-only things?
74  Products / Arduino Due / Re: Scope images from my counterfeit DUE on: September 25, 2013, 09:56:35 am
I should mention the pulse width (while high) bounces between 12.4 and 13.7 us, with most of the pulses being 12.4.  Here's another zoomed in view, where I turned up the waveform intensity so you can see the less-commonly-occurring version of the pulse.

If you have a slow scope (which doesn't capture thousands of waveforms per second and render with variable intensity), you can view this by enabling display persistence.


EDIT: those curved edges on your waveform are likely from mis-calibrated scope probes.  Connect your probe to the calibration output and adjust the little set screw on the probe until you get a square waveform.  Then use the probe on your counterfeit Due.



75  Products / Arduino Due / Re: Scope images from my counterfeit DUE on: September 25, 2013, 09:49:37 am
Measured on a genuine Arduino Due:

Pages: 1 ... 3 4 [5] 6 7 ... 40