Problem with NXT motors B and C response
Author |
Message |
moona
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 |
|
 |
moona
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 |
|
 |
moona
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 |
|
 |
Ford Prefect
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.
_________________ 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 |
|
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|