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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c2425d70daf0335f,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.125.201 with SMTP id ms9mr6203668pbb.3.1336645499193; Thu, 10 May 2012 03:24:59 -0700 (PDT) Path: pr3ni9555pbb.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!reality.xs3.de!news.jacob-sparre.dk!hugin.jacob-sparre.dk!news.thorslund.org!pnx.dk!not-for-mail From: Gustaf Thorslund Newsgroups: comp.lang.ada Subject: Playing with AVR-Ada, Arduino & a stepper motor Date: Thu, 10 May 2012 12:24:58 +0200 Organization: gustaf.thorslund.org Message-ID: NNTP-Posting-Host: localhost Mime-Version: 1.0 X-Trace: katthult.thorslund.org 1336645498 25853 ::1 (10 May 2012 10:24:58 GMT) X-Complaints-To: usenet@thorslund.org NNTP-Posting-Date: Thu, 10 May 2012 10:24:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-05-10T12:24:58+02:00 List-Id: Hi! Last week I managed to build AVR-Ada using GCC 4.7.0 and try out some example code on my Arduino UNO. After this I mutated the example to control a stepper motor instead. Here it is in action: http://www.youtube.com/watch?v=SUJJX3aXK7Y I'll try making some more general stepper motor procedures I can contribute. So far the code is kind of ugly. Regards, Gustaf -- http://gustaf.thorslund.org