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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: USB Missile launcher References: <02e31162-4f29-484a-a726-b046b30b6bef@googlegroups.com> Date: Sat, 01 Nov 2014 17:08:02 -0500 Message-ID: <85r3xmvakd.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) Cancel-Lock: sha1:oQfI6j86UbvMEb0KY5b/JHBY3bc= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: ea5ae545559c5e3fb833021377 X-Received-Bytes: 1834 X-Received-Body-CRC: 4270765216 Xref: news.eternal-september.org comp.lang.ada:22968 Date: 2014-11-01T17:08:02-05:00 List-Id: kadrickhenderson008@yahoo.com writes: > I have a group project for a senior course at my University. We were > assigned to choose a language and create something meaningful. The > language we chose was Ada. Ada was a language developed for the > Department of Defense, so we felt it would be nice to program a USB > missile launcher: http://www.thinkgeek.com/product/8a0f/ using Ada. > Can anyone guide me through the necessary steps to achieve this. We > have the hex codes to send to the device. The device connects to the > pc via USB. I have done some research and found that there is a > library for serial port communication but have yet to find one for > usb. Any advice would be helpful. I would start by reading the software that comes with it. If you're lucky, it has some simply calls you can create Ada bindings for, and write your code on top of that. Unless the requirement is to not use purchased code for your project, which would make sense. Even then, reading the purchased code will tell you a lot about how it works, and what you need the Ada to do. If you don't have access to the source, ask for it (it can't hurt). -- -- Stephe