-->
Page 1 of 1

Adding SPI module to Arduino IDE

PostPosted: Thu Jun 06, 2019 12:45 pm
by javadhabibi
Hi, I want to use nodemcu using it's SPI interface.
https://github.com/nodemcu/nodemcu-firmware/tree/master/app/modules is a sample project. But i can't find out how to add SPI Module as a library to my nodemcu code on arduino IDE. I can't find spi.h beside spi.c
Please help me.
Thanks

Re: Adding SPI module to Arduino IDE

PostPosted: Thu Jun 13, 2019 1:50 pm
by hemjal
It is always not mandatory that you have to use arduino ide. Use other ide like microsoft visual studio code that should help you.thanks

Re: Adding SPI module to Arduino IDE

PostPosted: Sun Jun 16, 2019 3:39 am
by schufti
either you want to use nodemcu firmware or arduino, they are different things!
If you want spi in your lua (nodemcu) you have to download a version with spi included.

if you want spi in arduino ide, look here or some of the plethora of libraries (display, sensor, ...) that utilize spi