Search found 1 match
- Wed Dec 28, 2022 8:33 am
- Forum: General discussion
- Topic: Digital to analog converter
- Replies: 3
- Views: 1323
Re: Digital to analog converter
To use DAC simply use analogWrite() on DAC pin (PA4-PA6). As to conversion, it depends on what you want on output, but easiest way is to use map() function. You set DAC resolution with analogWriteResolution(). After acquiring a sensor's temperature reading, I want to provide it to the outside world...