Interfacing an SPI ADC (MCP3008) chip to the Raspberry Pi using C++ (spidev) | Hertaville
Raspberry Pi asserts the chip select signal connected to the MCP3008 (CS0 in our case) by setting it to 0V. This is typically taken care of internally by the spidev driver whenever the proper ioctl() function is called. Raspberry Pi sends a byte containin
hertaville.com |