[C.CC USERS] [kroc-svn-commits] [kroc] r6523 - kroc/branches/avr-mega/tvm/arduino/occam/include

Matt Jadud jadudm at gmail.com
Tue Jun 22 02:06:51 BST 2010


On Mon, Jun 21, 2010 at 8:43 PM,  <csprojects+noreply at kent.ac.uk> wrote:
> Author: drew
> Date: 2010-06-22 00:43:34 +0100 (Tue, 22 Jun 2010)
> New Revision: 6523
>
> This is definitely architecture specific code. Might even be board specific. Not sure about that one. The Arduino Mega and the Ardupilot Mega use the same layout for adc, I guess we'll see what's what when the Seeeduinos arive.
> Perhaps we should find a better name for pinmapping.module, and include in that all the board-specific pin-goodness? I'm willing to bet pwm and serial code is going to have to be pulled out of plumbing.module just as adc is.

Interesting.

Our goal with plumbing.module is to provide a simple interface for
Arduino users. I suppose we need to think about how best to provide a
simple interface consistently across the different platforms. It would
be a shame if plumbing.module had to be modified for each platform. I
suppose that's why there are #ifdef statements all over the Arduino
codebase...

Thoughts, anyone?

Cheers,
M




More information about the users mailing list