To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.generalOpen lugnet.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 General / 54450
54449  |  54451
Subject: 
Re: Power Function control with RCX and BrickOS
Newsgroups: 
lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics
Date: 
Sat, 26 Jan 2008 16:12:00 GMT
Viewed: 
19723 times
  
In lugnet.general, Bob Kojima wrote:
  
   direct’. But I can’t get ‘Single output’ or either of the ‘Single pin’ modes to work. Have you had any more luck?


The toggle bit is checked in Single output mode (the documentation is not quite right for this mode) and in both single pin modes. each message is sent 5 times you need to toggle the toggle bit in every message sent. 0 1 0 1 0 1 0 1 etc.

bob

Okay, thanks. I can get ‘Single output Mode’ to work now. ‘Single pin Mode’ may be working too, but I’m not sure what to expect from it.

I would expect setting either C1 or C2 would set them to 9V and run a motor forwards or backwards. Setting them both would stop it.

But it seems if I set them, they do nothing. Unless the motor is already running. If it’s running forwards at slow speed, then I set C1, it jumps up to full speed. But then if I set C2 it keeps running, and if I clear C1 it keeps running, and in the same direction.

Can you get a motor to run just be setting C1?

Jason R



Message has 1 Reply:
  Re: Power Function control with RCX and BrickOS
 
(...) i have not really spent a lot of time trying to figure these modes out. i was more concerned with getting the PWM to work correctly. i'm going to spend more time testing this and will let you know. bob (17 years ago, 26-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)

Message is in Reply To:
  Re: Power Function control with RCX and BrickOS
 
(...) The toggle bit is checked in Single output mode (the documentation is not quite right for this mode) and in both single pin modes. each message is sent 5 times you need to toggle the toggle bit in every message sent. 0 1 0 1 0 1 0 1 etc. bob (17 years ago, 25-Jan-08, to lugnet.general, lugnet.technic, lugnet.trains, lugnet.robotics, FTX)

17 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
5 minutes ago
 
Different Sensors Available...
15 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR