Subject:
|
New patch for remote and message
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 7 Sep 2001 01:24:29 GMT
|
Viewed:
|
1640 times
|
| |
| |
I made a new patch for remote control and standard firmware message
communication, I defined three config constants in config.h:
1. CONF_REMOTE_CTRL: Remote control services, comment it if you don't use
remote control.
2. CONF_MESSAGE: Standard firmware message servcies, it lets you can
communicate with NQC program, including with Scout. Comment it if you don't
need to use standard firmware message.
3. CONF_REMOTE_HANDLER: Remote Key Handler services, it lets you can use
default remote key handler, all remote keys act as similar in standard
firmware, you also can use your own remote key handler if you comment this
define.
Zhengrong
|
|
Message has 2 Replies: | | Re: New patch for remote and message
|
| Zhengrong: If you can get a login on sourceforge, and you can send me a patch to review quickly for style and content, I can give you write access to legOS CVS to add your code to the main CVS tree. Thanks for all the effort you've made; sorry I've (...) (23 years ago, 10-Sep-01, to lugnet.robotics.rcx.legos)
| | | Re: New patch for remote and message
|
| I uploaded this patch at (URL) can use functions as below: unsigned int get_rkey(); // wait for any remote key wait_event(rkey_pressed, rkey); // wait for any remote key pressed wait_event(rkey_released, rkey); // wait for any remote key released (...) (23 years ago, 13-Sep-01, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|