Arduino source kode
Download mcp4261 Library
|
Digital potentiometer
Download mcp4261 datablad
MCP4261 Pin | MCP4261 navn | Arduino Pin | Bemærkning |
1 | CS | D10 | Chip select |
2 | SCL | D13 | SPI SCL |
3 | SDI | D11 | SPI MOSI |
4 | VSS | Gnd | Stel |
5 | P1-B | | Pot-1 bund |
6 | P1-W | | Pot-1 midt |
7 | P1-A | | Pot-1 top |
8 | P2-A | | Pot-2 top |
9 | P2-W | | Pot-2 midt |
10 | P2-B | | Pot-2 bund |
11 | WP | +5v | Write Protect (aktiv low) |
12 | SHDN | +5v | Shutdown pin (aktiv low) |
13 | SDO | D12 | SPI MISO |
14 | VDD | +5v | +5v forsyning |
|