Search found 12 matches
- 08 Oct 2013, 19:19
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Fixed: Error with EV3 Motors using BricxCC
So... ok, I'm really ashamed right now... :oops: Everything works! I copied again the temp file (Pressing Default did nothing) and since there where three whitspaces instead of a tab character so I replaced it. After that I opened ex_RotateMotor.c, included ev3_ouptut.c and ev3_command.c to the File...
- 08 Oct 2013, 18:10
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
Thank you for explaining this stuff. First I was worried because it didn't work - and there is something wrong in the makefile template: C:\...\lcd_test_c.mak:12: *** missing separator. Stop. Since I'm not familiar to the syntax of those templates, I couldn't fix it, so I used the old one - wich wor...
- 08 Oct 2013, 10:24
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
I quickly tested it out, and even if it gets compiled and uploaded to the brick I'm not able to execute it. Later I will investigate more time but right now that is all I can say.
(It's most likely a problem with the compiler - can you please specify more precisly where to add the -L switch?)
(It's most likely a problem with the compiler - can you please specify more precisly where to add the -L switch?)
- 07 Oct 2013, 20:47
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
I'm sorry that I were not precise. So right now I tried out "OutputStepSyncEx(OUT_XX, 50, 0, 360, true, OWNER_NONE);" If i use something else than two motors, it returns false. (Which was obvious) I have a setup of one medium motor at port A and two large ones at Port B and C. OUT_AB: Only...
- 07 Oct 2013, 17:57
- Forum: Mindstorms Software
- Topic: information about setting up C / BCC for EV3
- Replies: 19
- Views: 34333
Re: information about setting up C / BCC for EV3
Oh, right, I already knew that but I forgot
But thank you for remembering me!
But thank you for remembering me!
- 07 Oct 2013, 17:24
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
I'm afraid that didn't fix it. Trying to rotate only one motor does nothing, and two motors now crash. First it's rotating for a short amount of time fast, then it crashes and the motor continues rotating really slow. Wait... doesn't there belong an "else" after the "if(Sync)"? -...
- 07 Oct 2013, 14:33
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
I tested the same thing with RotateMotorNoWaitEx, and again, it works with OUT_AB but doesn't with OUT_A. RobotcxCC only bundles the tools for communicating with the ev3, right? Because than codesourcery just compiles to native linux opcode which runs on the brick's OS - I boot it with the standard ...
- 07 Oct 2013, 10:03
- Forum: Mindstorms Software
- Topic: information about setting up C / BCC for EV3
- Replies: 19
- Views: 34333
Re: information about setting up C / BCC for EV3
I got this error when I included some files from the lms-api while the project was saved in another directory.
It seems that the only solution is having the source file in the same directory like the included files.
It seems that the only solution is having the source file in the same directory like the included files.
- 07 Oct 2013, 09:49
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
That would be great! That's the code: #include <stdio.h> #include <unistd.h> #include "ev3_output.h" #include "ev3_timer.h" #include "ev3_command.h" int main() { int i; printf("hello world\n"); printf("start of out_test\n"); Wait(SEC_1); // initializ...
- 06 Oct 2013, 19:31
- Forum: Mindstorms Software
- Topic: Solved: Error with EV3 Motors using BricxCC
- Replies: 26
- Views: 43116
Re: Error with EV3 Motors using BricxCC
Well - then it seems logical that commands like rotating for a given angle crashes but just turning a motor on doesn't. But now it seems even more odd to me why something like RotateMotor(OUT_AC,...) works and the same with OUT_A or OUT_C does not. Right now I am a bit confused why nearly nobody els...