comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: USB Boarduino on AVR-Ada Tutorial
Date: Thu, 05 Aug 2010 15:53:12 +0100
Date: 2010-08-05T15:53:12+01:00	[thread overview]
Message-ID: <8cjl56l69ruae3ev5ntfnjvker3uldlctg@4ax.com> (raw)
In-Reply-To: 4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com

On Tue, 3 Aug 2010 19:50:20 -0700 (PDT), Warren <ve3wwg@gmail.com> wrote:

>Rolf graciously granted me access to add to the AVR-Ada's Tutorial
>page,

>The Arduino focus has always been to make it easy for people to get
>started and teaching, which is ok.  But I think they've sometimes
>"dumbed it down" too much.  They don't want their students to get
>confused by technical details like upload baud rates or I/O ports
>and pins. They'd prefer them to know that the LED is "digital pin 13"
>instead of  Port B, bit 5 (on a particular chip).  Anyway, that's
>just my opinion- I like to drive.

Forgot to mention:

this looks like a candidate for an "Arduino" package which contains all the
renames, so you can "with Arduino" and write
   Arduino.Led := On;
or, if you want to drive the port directly, simply read the package instead of
rummaging through data sheets and schematics.

Led types should be enumerations, or renamed subtypes of boolean, (On,Off) or
(Off,On) according to the way they are connected, rather than (True,False).

- Brian




  parent reply	other threads:[~2010-08-05 14:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04  2:50 USB Boarduino on AVR-Ada Tutorial Warren
2010-08-04 10:52 ` Brian Drummond
2010-08-04 12:42   ` Warren
2010-08-04 13:13   ` Warren
2010-08-04 21:26     ` Brian Drummond
2010-08-05  0:59       ` Warren
2010-08-22 22:41       ` Brian Drummond
2010-08-23  9:29         ` Tero Koskinen
2010-08-24 11:37           ` Brian Drummond
2010-08-24 12:25             ` Ludovic Brenta
2010-08-23 15:28         ` Warren
2010-08-23 22:08           ` Brian Drummond
2010-08-24  9:07             ` David Sauvage
2010-08-24 11:15           ` Brian Drummond
2010-08-24 13:40             ` Warren
2010-08-24 12:12         ` Brian Drummond
2010-08-05 14:53 ` Brian Drummond [this message]
2010-08-16 14:16   ` Warren
2010-08-23 22:10     ` Brian Drummond
2010-08-26  0:26 ` b.robinson.jp
2010-08-26  7:48   ` David Sauvage
2010-08-26 12:59     ` Warren
2010-08-27  1:44     ` b.robinson.jp
2010-08-27 12:51       ` Warren
2010-09-02  3:39         ` b.robinson.jp
2010-09-02 16:11           ` Charmed Snark
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox