Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberry:dac_mcp4802-22 [2020/10/09 18:14] admin |
raspberry:dac_mcp4802-22 [2020/10/16 21:52] admin |
||
---|---|---|---|
Line 14: | Line 14: | ||
Vdd 5V | Vdd 5V | ||
+ | CS CE1 | ||
+ | SCLK SCLK | ||
+ | SDI MOSI | ||
Vss GND | Vss GND | ||
LDAC GND | LDAC GND | ||
- | CLK SCLK | ||
- | SIN MOSI | ||
- | CS CE1 | ||
{{: | {{: | ||
Line 24: | Line 24: | ||
Before using the Wiring object enable the SPI interface in: | Before using the Wiring object enable the SPI interface in: | ||
$ sudo raspi-config | $ sudo raspi-config | ||
+ | |||
+ | ---- | ||
+ | ==== with Commandline ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | to output some voltage: | ||
+ | $ echo -ne " | ||
+ | |||
+ | ---- | ||
+ | ==== with BCM2835 Library ==== | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ==== with WiringPi ==== | ||
+ | |||
+ | [[http:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
---- | ---- | ||
==== Links ==== | ==== Links ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[http:// | ||
+ | |||
---- | ---- |