Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yellobyte committed Jun 4, 2023
1 parent 9cd0549 commit adfb5af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ DacESP32 dac1(DAC_CHANNEL_1),
setup() {
dac1.outputCW(2000); // 2kHz sinus signal on pin 25
dac2.outputVoltage((float)1.3); // steady voltage level of 1.3V on pin 26
//dac2.outputVoltage((uint8_t)100); // same as above but with 8-bit argument, range 0...255 (Vout = 100/255 * 3.3V = ~1.3V)
//dac2.outputVoltage((uint8_t)100); // same as above but with 8-bit argument, range 0...255
// (Vout = 100/255 * 3.3V = ~1.3V)
}
...
```
Expand Down

0 comments on commit adfb5af

Please sign in to comment.