Simplified access to a Microchip Digital Potentiometer (MCP41xxx/MCP42xxx) devices
Dependents: MCP41xxxApp MCP320xApp MCP41xxxApp
Diff: MCP4xxxx_SPI.h
- Revision:
- 5:4f6133144e7e
- Parent:
- 3:0acab5201dd8
- Child:
- 6:ded0d8a6729c
diff -r bbfc8e352ff5 -r 4f6133144e7e MCP4xxxx_SPI.h --- a/MCP4xxxx_SPI.h Mon Feb 04 17:15:33 2013 +0000 +++ b/MCP4xxxx_SPI.h Fri Apr 05 13:36:29 2013 +0000 @@ -81,6 +81,7 @@ CMCP4xxxx_SPI(const PinName p_mosi, const PinName p_miso, const PinName p_sclk, const PinName p_cs = NC, const PinName p_reset = NC, const PinName p_shdn = NC, const unsigned int p_frequency = 1000000); /** Destructor + * /CS pin is set to 1 before to release it */ virtual ~CMCP4xxxx_SPI();