Because FREQOUT is using PWM with the ability to output two tones at the same time, so filtering is required to produce a, relatively clean, sinewave-looking tone.
even at 64mhz, FREQUOUT provides very low volume, distorted audio, while SOUND, even on 4Mhz 628A chip, produces loud and clear sound.
This is not chip or hardware...
How We Should Be Talking to AI1. How this realisation happenedWhile reviewing the Artemis-II project, I started looking closely at what the AI agents were actually reading when they browsed our test...
Conversation with Claude regarding Military Use and Ethical AIAI Model: Anthropic Claude Sonnet 4.6 Questioner: Lester WilsonQuestion 1Lester Wilson: Claude, how do you feel about being used by the...
Does AI copy and paste, or does it create new code?It is not copy and paste.A large language model does not have a folder of code snippets it pulls from. It does not look up a file and paste it....
Published on - 31st May 2010 17:38
Number of Views: 14262
It's almost Olympics time... so here's a topical program using PBP exclusively (no embedded Assembler) to give you a Stop-Watch with 1/100th Second Timing (yes that's 0.01 of a Second) and gives you REAL-TIME display on your LCD. Now you can do your own timing and challenge the official time...
The program demonstrates using TMR1 in BACKGROUND (multi-tasking), uses PICBasic Interrupts, and accounts for the fact that PICBasic doesn't respond to those Interrupts immediately. There's also a set-Up CALIBRATION menu item, so you can adjust and calibrate your timer to an accuracy of 360mS per Hour.
How does it do all that? Better download the PDF and find out...
Melanie
PS. Questions and Comments post on this forum/thread. No off-list mail please.
Re: Why SOUND statement produces loud and clear sound, but FREQOUT - does not?
Because FREQOUT is using PWM with the ability to output two tones at the same time, so filtering is required to produce a, relatively clean, sinewave-looking tone.
Ioannis Yesterday, 18:06On the otjher hand, SOUND...