| Electronic Components Datasheet Search |
|
DFR0552 Datasheet(PDF) 8 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0552 Datasheet(HTML) 8 Page - DFROBOT |
|
8 / 23 page ![]() * * Copyright [DFRobot](http://www.dfrobot.com), 2016 * Copyright GNU Lesser General Public License * * version V1.0 * date 2018-1-25 */ #include "DFRobot_MCP4725.h" #define REF_VOLTAGE 5000 DFRobot_MCP4725 DAC; void setup(void) { Serial.begin(115200); /* MCP4725A0_address is 0x60 or 0x61 * MCP4725A0_IIC_Address0 -->0x60 * MCP4725A0_IIC_Address1 -->0x61 */ DAC.init(MCP4725A0_IIC_Address0, REF_VOLTAGE); } void loop(void) { /*Output a magnitude of 2500mv, the frequency of 10HZ, DC offset 2500mv sin e wave*/ DAC.outputSin(2500,10,2500); } Results A full sine wave of 2.5V in amplitude (5V peak to peak), 10Hz and 2.5V DC bias can be observed. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |