Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
// Code Example - Arduino Nano Wiring // SDA → A4 SCL → A5 // VCC → 5V GND → GND // This toggles the DAC output between 0V and ~2.5V every second. The value 2048 is half // of the 12-bit max (4095), giving half the supply voltage. #include
#include
Adafruit_MCP4725 dac; void setup() { dac.begin(0x62); } void loop() { dac.setVoltage(2048, false); delay(1000); dac.setVoltage(0, false); delay(1000); }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)