| Electronic Components Datasheet Search |
|
DFR0552 Datasheet(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0552 Datasheet(HTML) 11 Page - DFROBOT |
|
11 / 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 amplitude 5000mv, frequency 10HZ, *the rise of the entire cycle accounted for 50% of the DC offset 0mv trian gular wave. */ DAC.outputTriangle(5000,10,0,50); } Results A full triangular wave of 5V (peak-to-peak), 10Hz, duty cycle of 50% without 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 |