# Use SPI1 in Node-RED

**URL:** https://discourse.nodered.org/t/use-spi1-in-node-red/3329
**Category:** Developing Nodes
**Created:** [21 September 2018 10:32 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329 "2018-09-21T10:32:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cyberporkexception](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cyberporkexception/32/2723_2.png) [@cyberporkexception](https://discourse.nodered.org/u/cyberporkexception)
#### Post date: [21 September 2018 10:32 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329/1 "2018-09-21T10:32:25Z")

</div>

I use the "node-red-node-pi-mcp3008" to operate with my MCP3008 A/D Converter Chip.  
In this Node i can change the Chip Select line CE0 and CE1 of the SPI0 Bus.

I want to use the SPI1 from my Raspberry PI3 for another MCP3008 on Chip Select line SPI1 CE0, so i think i have to change the code from the original Node. I have tried to change the palette name in the .html file and put an "1." instead of "0." in the .json file.. it doesn't work ☹

Sorry for my bad english - I'm from Austria 😉  
Can anybody help me?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [21 September 2018 12:44 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329/2 "2018-09-21T12:44:33Z")

</div>

hold that thought

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [21 September 2018 12:53 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329/3 "2018-09-21T12:53:33Z")

</div>

pushed version 0.2 with that choice for you.

---

<div class="post-metadata">

### Author: ![cyberporkexception](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cyberporkexception/32/2723_2.png) [@cyberporkexception](https://discourse.nodered.org/u/cyberporkexception)
#### Post date: [21 September 2018 21:26 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329/4 "2018-09-21T21:26:55Z")

</div>

Thank you so much for that fast support! It works perfectly, I reviewed your code, and yes its logical 🙂 .

I'm a big fan of your work and your code's thank you again!

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [21 September 2018 21:50 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329/5 "2018-09-21T21:50:48Z")

</div>

You're welcome. No bother as it was a Friday afternoon 🙂
