View unanswered posts | View active topics It is currently Mon Jun 18, 2018 7:12 pm

 Page 2 of 2 [ 19 posts ] Go to page Previous  1, 2
 Print view Previous topic | Next topic
Problem with NXT motors B and C response
Author Message
Rookie

Joined: Fri Jan 24, 2014 4:29 am
Posts: 3
Re: Problem with NXT motors B and C response
I thought I remember somebody reporting something similar but I can't find it. So here it goes.

_________________
moona

Fri Jan 24, 2014 4:33 am
Rookie

Joined: Fri Jan 24, 2014 4:29 am
Posts: 3
Re: Problem with NXT motors B and C response
I thought I remember somebody reporting something similar but I can't find it. So here it goes.

_________________
moona

Fri Jan 24, 2014 4:33 am
Rookie

Joined: Fri Jan 24, 2014 4:29 am
Posts: 3
Re: Problem with NXT motors B and C response
I thought I remember somebody reporting something similar but I can't find it. So here it goes.

_________________
moona

Fri Jan 24, 2014 4:33 am
Guru

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Re: Problem with NXT motors B and C response
there is no problem using NXC, so it must be a RobotC issue - this code runs fine with either motor port.
 Code:task main(){  int Pw=0;  while(true)  {    Pw=(Pw>0)?-40:40;    OnFwd(OUT_B, Pw);    Wait(100);  }}

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}

Fri Jan 24, 2014 5:11 am
Display posts from previous:  Sort by
 Page 2 of 2 [ 19 posts ] Go to page Previous  1, 2

#### Who is online

Users browsing this forum: No registered users and 2 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge    2014 Robotics Academy Summer of Learning

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.