From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fcd0ac136c3a2795 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 05 Aug 2010 09:45:59 -0500 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: USB Boarduino on AVR-Ada Tutorial Date: Thu, 05 Aug 2010 15:53:12 +0100 Reply-To: brian@shapes.demon.co.uk Message-ID: <8cjl56l69ruae3ev5ntfnjvker3uldlctg@4ax.com> References: <4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-AmZTefzllZ3FHcgHHh1NYoGaXtggWsX46CCN+kFBPE7KFoKHHI7dlIYqb9Bhetf935wUmXPze3RbQSK!eXwbH7Dk3/QU6wA2Xv5h0VW95Dxlwk5C4YnQfbHnBBsRyX7ZZZS2tkSm67yZZLigiDjtGAXjOK6w!UsNE X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news1.google.com comp.lang.ada:12880 Date: 2010-08-05T15:53:12+01:00 List-Id: On Tue, 3 Aug 2010 19:50:20 -0700 (PDT), Warren 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