-
Send data 0xff for a period of time, send 0x00 for a while, and repeat the operation.
-
Output square wave, no need for 0832.
Any interface pin of the microcontroller itself can output a square wave.
-
Wouldn't it be nice to use two delays???
-
Use the DAC0832 to create a signal generator that can generate rectangular, triangular and sawtooth waves. The requirement can be boiled down to using a microcontroller to control the data sent to the DAC: the rectangular wave method is: adjustable resistance AD microcontroller.
-
Only character-based data can be displayed, that is, only frequency, amplitude, and other data can be displayed.
2. DAC0832 is driven by an 8-bit bus, in order to ensure the smoothness of the output waveform, an interrupt timer is required, and the sampling output rate of a waveform data is generally set to 1ms.
3. It is relatively simple to output the square wave, which is to send 00, ff data. For sine waves, a forward selected wave fix** is formed by excel with 1000 8-bit data. The frequency is changed by sampling.
-
Handsome guy, is your graduation project still there? Can you send me one? I'll give you a response when I see it, thank you
-
Did you put the output part of the operation?
-
Yes, this method will not produce errors in the compiler, but the square wave is not like this, you are a triangle wave, and the square wave is generated by high and low levels.
-
This is a sawtooth wave program, while(1).
-
Send it to me
Need help writing for you
-
#include
#include
#define dac0832 xbyte[0x7fff]void dealy()
void main()
Bus controlled, single buffer mode. Splice selection, WR to WR1, P0 to D10-17, WR2, XFER to ground. Draw your own picture.
618ip software has the function of IP and automatic IP access.
Use the old red envelopes left over from the family, and the steps are as follows: >>>More
Fresh, delicious, tempting, red, green, tender, watery, fresh, delicate, crisp, refreshing, fresh, verdant. >>>More
1. Why do we need to do knowledge paraphrasing?
2. The mental method of knowledge paraphrasing. >>>More
For this, first of all, you have to be able to use macros, otherwise you have to be able to write VBA. >>>More