|
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:
| | 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:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|