Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   question on programming fisher price motor? (http://www.chiefdelphi.com/forums/showthread.php?t=42459)

waialua359 22-01-2006 21:04

question on programming fisher price motor?
 
HI,
We wanted to hook it up to a relay, but the rules say it has to go to a pwm port. How do you program to "act as a relay?" We are going to use it for a "device" where all we need is an on/off switch.

Thanks,
Team 359

jgannon 22-01-2006 21:11

Re: question on programming fisher price motor?
 
Quote:

Originally Posted by waialua359
HI,
We wanted to hook it up to a relay, but the rules say it has to go to a pwm port. How do you program to "act as a relay?" We are going to use it for a "device" where all we need is an on/off switch.

Thanks,
Team 359

relay1_fwd=1 translates to pwm01=255. (full forward)
relay1_fwd=0 translates to pwm01=127. (neutral/off)


All times are GMT -5. The time now is 01:03.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi