Hello Everyone,
I am trying to convert the Arduino application ATOM_Socket.ino (https://github.com/m5stack/M5Atom/tree/master/examples/ATOM_BASE/ATOM_Socket) to B4R application. The Arduin application includes two files the header AtomSocket.h and the source AtomSocket.cpp. In the B4R application, I copied the requred parts of the Arduino code and put them under the #if c and copied the AtomSocket.h and AtomSocket.cpp to the Objects directory but the B4R application did not compile and gave error it can not find AtomSocket.h. I copied the files under the src and it did not work. Copied them in additional libraries and it gave the same error. My question in the B4R is how to include the .h file and .ccp files so that the application can comply
Thank you.
I am trying to convert the Arduino application ATOM_Socket.ino (https://github.com/m5stack/M5Atom/tree/master/examples/ATOM_BASE/ATOM_Socket) to B4R application. The Arduin application includes two files the header AtomSocket.h and the source AtomSocket.cpp. In the B4R application, I copied the requred parts of the Arduino code and put them under the #if c and copied the AtomSocket.h and AtomSocket.cpp to the Objects directory but the B4R application did not compile and gave error it can not find AtomSocket.h. I copied the files under the src and it did not work. Copied them in additional libraries and it gave the same error. My question in the B4R is how to include the .h file and .ccp files so that the application can comply
Thank you.