Subject:
|
Re: Tone Functions
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 15 Jun 1998 04:31:16 GMT
|
Original-From:
|
Fred G. Martin <{fredm@media.mit.edu}AvoidSpam{}>
|
Viewed:
|
1358 times
|
| |
| |
yep, 5 kHz is about the top end of the HB's 6811 capability. going
higher would require dedicating the 'hc11 to generating the tone and
doing nothing else.
why? interrupt routine overhead. takes a bunch of cycles to handle
an interrupt. the tone function uses the interrupt so it normally
doesn't have to hog the CPU.
if you hog the CPU, you can go up to 100khz or so...
fred
In your message you said:
> I have a problem with the tone functions. I tried each of the following:
>
> 1000 - 9000 Hz tones for 2 to 3 seconds. All work fine up to 5000 but 6000 a nd
> above have broken up sound. Can anyone explain why this happens? What is
> the fix?
> --
> -----------------------------------------------------------------
> ipscone@halcyon.com Shoot-To-Win!
>
> Protect the 2nd Amendment! Your rights may be next!
> -----------------------------------------------------------------
>
|
|
Message is in Reply To:
| | Tone Functions
|
| I have a problem with the tone functions. I tried each of the following: 1000 - 9000 Hz tones for 2 to 3 seconds. All work fine up to 5000 but 6000 and above have broken up sound. Can anyone explain why this happens? What is the fix? -- ---...--- (...) (26 years ago, 15-Jun-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|