Log in

View Full Version : question on programming fisher price motor?


waialua359
22-01-2006, 21:04
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
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)