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!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: USB Missile launcher Date: Thu, 30 Oct 2014 21:25:29 +0100 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87zjcd71ae.fsf@adaheads.sparre-andersen.dk> References: <02e31162-4f29-484a-a726-b046b30b6bef@googlegroups.com> NNTP-Posting-Host: 109.56.25.69.mobile.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1414700730 659 109.56.25.69 (30 Oct 2014 20:25:30 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 30 Oct 2014 20:25:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:HlXNvBAGzAWiolX5JuQTKh6bXCQ= Xref: news.eternal-september.org comp.lang.ada:22932 Date: 2014-10-30T21:25:29+01: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. Might it actually be a plain USB serial port device? If that is the case, then the serial port library included with GNAT should be sufficient. Fun little project you've chosen. ;-) Greetings, Jacob -- "There are only two types of data: Data which has been backed up Data which has not been lost - yet"