Using SPI with ESP32 in Atmosphere IOT


#1

Greetings!

I have seen the link here regarding the SPI driver on Atmosphere’s website:
https://developer.atmosphereiot.com/documents/apis/spidriver.html

My question is: How do I “transform” this API into an actual block in Atmosphere, so that I can drag and drop it to my ESP32 device?


#2

Hi,

You have two choices:

1.) Drag out a function element and write your code in there using that embedded API.
2.) Follow the documentation to build and import your own element library. That can be found here.

-Nick