Header files in ESP 32 SDK

amalamal
Posts: 23
Joined: Mon Dec 12, 2016 7:07 am

Header files in ESP 32 SDK

Postby amalamal » Sat Dec 17, 2016 5:28 am

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
Attachments
new cpp file .png
new cpp file .png (101.73 KiB) Viewed 7383 times

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: Header files in ESP 32 SDK

Postby ESP_igrr » Sat Dec 17, 2016 9:21 am

Code: Select all

#include <Arduino.h>

ESP_Sprite
Posts: 8922
Joined: Thu Nov 26, 2015 4:08 am

Re: Header files in ESP 32 SDK

Postby ESP_Sprite » Sat Dec 17, 2016 9:21 am

This seems to be an Arduino issue, I moved it to the appropriate subforum.

Who is online

Users browsing this forum: No registered users and 46 guests