Page 1 of 1

Header files in ESP 32 SDK

Posted: Sat Dec 17, 2016 5:28 am
by amalamal
I tried the sample spi code in ESP32, there i created one .cpp file extra and called the spi operations in that new .cpp file, i added spi.h with that file so spi functions are working, like that i need to add gpio and uart part in new .cpp file, for that which header file i need to add, with out any header file it is showing error

Re: Header files in ESP 32 SDK

Posted: Sat Dec 17, 2016 9:21 am
by ESP_igrr

Code: Select all

#include <Arduino.h>

Re: Header files in ESP 32 SDK

Posted: Sat Dec 17, 2016 9:21 am
by ESP_Sprite
This seems to be an Arduino issue, I moved it to the appropriate subforum.