|
In lugnet.robotics.rcx.legos, Joseph Woolley wrote:
> Mark is correct: I made the following two changes which will cause the
> sensors to be polled at 1KHz:
>
> in systime.c; added "bset #0x5,@_AD_CSR:8";
I actually had already tried this, but couldn't get it to work. Turns out I was
having a problem with generating the linker file (genlds).
Once I resolved that, it works GREAT!
As you may expect, the processor intensive program I've written, goes about 3
times as fast as before.
Very nice.
Thanks
Steve
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: disable LNP
|
| (...) Mark is correct: I made the following two changes which will cause the sensors to be polled at 1KHz: in systime.c; added "bset #0x5,@_AD_CSR:8"; extern void clock_handler(void); ... sys_nohigh: mov.w #0x5a06,r6 ; reset wd timer to 6 mov.w (...) (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)
|
7 Messages in This Thread: ![disable LNP -Steve Hassenplug (9-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: disable LNP -Mark Riley (10-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: disable LNP -Steve Hassenplug (10-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: disable LNP -Mark Riley (11-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: disable LNP -Joseph Woolley (12-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![RE: disable LNP -Ralph Hempel (12-Oct-03 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|