Subject:
|
Re: The BrickOS Task Manager
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 12 Jan 2004 21:48:15 GMT
|
Viewed:
|
4009 times
|
| |
| |
In lugnet.robotics.rcx.legos, Steve Hassenplug wrote:
> This works.
Thank you again for the help, but unfortunately it only compiles when saved as a
'.c' file. Some of my code depends pretty heavily on classes... is there any
easy change to make this work as object oriented code?
*just spent two hours trying to figure out how your code could work and an
identical line in mine could cause a type error*
Mike
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: The BrickOS Task Manager
|
| (...) This works. Steve ---- #include <unistd.h> #include <dbutton.h> #include <dmotor.h> int MotorSpeed = 0; int RunMotor() { while (!shutdown_requested()) { motor_a_dir(MotorSpeed); } return 0; } int CheckButton() { while (!shutdown_requested()) { (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
|
15 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
|
|
|
|