View unanswered posts | View active topics It is currently Mon Sep 22, 2014 12:16 am






Reply to topic  [ 5 posts ] 
**Error**:Expression does not fit parameter. Call to 'stopMo 
Author Message
Rookie

Joined: Wed Apr 30, 2014 2:51 pm
Posts: 3
Post **Error**:Expression does not fit parameter. Call to 'stopMo
I have a student who after she compiles always gets this message. She has been the only one out of 6 classes

**Error**:Expression does not fit parameter. Call to 'stopMotor'. Parameter: 'tMotor motorPort' is 'left' of type 'tDirections'.


Wed Apr 30, 2014 2:56 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 578
Post Re: **Error**:Expression does not fit parameter. Call to 'st
Please provide us the code (wrapped in the [code] tags) as we will need this information in order to assist with the debugging process.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Wed Apr 30, 2014 3:34 pm
Profile
Rookie

Joined: Wed Apr 30, 2014 2:51 pm
Posts: 3
Post Re: **Error**:Expression does not fit parameter. Call to 'st
I attached the code through a screen shot.


Attachments:
YasmeenPLTWtemplate.c [359 Bytes]
Downloaded 30 times
Yasmeen Capture.PNG
Yasmeen Capture.PNG [ 31.71 KiB | Viewed 514 times ]
Thu May 01, 2014 1:06 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 578
Post Re: **Error**:Expression does not fit parameter. Call to 'st
You have named your motor 'motor'; this is a keyword already in use in ROBOTC and cannot be used as a custom name. Instead, open up the Motors and Sensors Setup window and change the name of the motor to something else, such as testMotor or armMotor, and update the program accordingly. This should resolve the issue you are seeing.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Thu May 01, 2014 1:40 pm
Profile
Rookie

Joined: Wed Apr 30, 2014 2:51 pm
Posts: 3
Post Re: **Error**:Expression does not fit parameter. Call to 'st
This was the error with the parameter problem.


Attachments:
Yasmeen.c [357 Bytes]
Downloaded 33 times
Thu May 01, 2014 4:34 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

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

Search for:
Jump to:  



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