From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: how to order motors via parallel port Date: Wed, 24 May 2000 01:53:05 +0400 Organization: MTU-Intel ISP Lines: 31 Message-ID: <392AFDC1.68AFE922@mtu-net.ru> References: <959109680002726 AT caramail DOT com> NNTP-Posting-Host: ppp97-231.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 959118967 78208 212.188.97.231 (23 May 2000 21:56:07 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 23 May 2000 21:56:07 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com are you inventing a plotter/printer? actually the problem is more complex than you can expect. with parallel ports you may send bytes to those motors. but motors don't work with bytes, they work with particular voltage and current. usually speed is voltage dependant but your curve does not represent speed/voltage, it represents coordinates. so you need to convert coords to speed/voltage and then make your motors driven by bytes being sent via parallel ports. good luck Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru ennadif mohammed wrote: > > Hello everybody > > I am very interested of knowing if C or C+ + in the DJGPP > [env] could solve my problem, > > Being given a curve drawn in the screen, how read the > pixels of the screen and by following order two electric > motors via the parallel port so that these motors describe > the same curve, (of course the motors browse two > perpendicular journeys, and they are plugged to the > parallel port via a digital analogical converter and a > booster ),