To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1912
1911  |  1913
Subject: 
Some assorted questions
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 10 Jun 2001 19:25:48 GMT
Viewed: 
1569 times
  
Hi, all -

I was reading through the sources, and I noticed that starting with
0.2.3, there was no dsound_play. Does anybody know why the 8 kHz sound
playing subsystem was taken out? That was, IMHO, a way cool feature. Was
it just too buggy?

Also, I was wondering (I know, I ought to read some OS design books
first) if it was possible to NOT have to use a dynamic linker script?
Meaning, is there a way to make it such that one does NOT have to
recompile all the .lx files after rebuilding the kernel?

In addition, I'm having some trouble using a temperature sensor. On
Michael Gasperi's pages, I found the formula: Degrees C = (785-RAW)/8.
The problem is that this is designed for NQC and such, where RAW means
0-1023, and I know that SENSOR_n has a different range. How do I convert
SENSOR_n's value into a 0-1023 RAW value?

Thanks in advance for any help.

-Jacob



Message has 1 Reply:
  Re: Some assorted questions
 
(...) I don't know pre-0.2.3 versions, but now you can find it in `include/dsound.h'. (...) In principle it's possible, but changing the linking scheme involves too much work, IMHO. (...) Use the macro `ds_scale' (in `include/dsensor.h') to get RAW (...) (23 years ago, 11-Jun-01, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR