fivdi / mcp-spi-adc

MCP3002/4/8, MCP3202/4/8 and MCP3304 SPI analog to digital conversion with Node.js
MIT License
62 stars 10 forks source link

What's the different between device number and bus number? #7

Closed mannok closed 4 years ago

mannok commented 4 years ago

Which one should I change in order to read from specific one of 2 MCP3008?

fivdi commented 4 years ago

Please take a look at this Wikipedia article. After reading the article the difference between an SPI bus and an SPI device should be clear.