I bought a NodeMCUv3 board to run the following HomeKit code on it,
click. This works well, my board is connected to WiFi and I can add it to the Home App as an accessory.Now I rewrote the code example in C using the characteristics of a motion detector instead of a switch.
Furthermore I want to use the MFRC522.c library,
link. Including it with #include "MFRC522.h" obviously returns me the following error while compiling:
require_cpp11.h:9:2: error: #error "This library needs at least a C++11 compliant compiler, maybe compiler argument for C++11 support is missing or if you use Arduino IDE upgrade to version >=1.6.6"
Anyone knows of a MFRC522 library coded in C? Or tips of how to include a C++ library into C code? I read about the "extern C"-solution for the header file what didnt work either for me.