David_
Advanced Member level 2
Hello.
I had started a thread asking help regarding a C/C++(okey arduino) problem, but I ended up solving it by writing a library for arduino. Its just a class built with a header file and a C++ file but when I had solved the problem I'd like to share the solution in the thread but the "manage attachments" does not allow you to upload .cpp file, not .h ether I would guess.
How can I go about enabling people reading my thread to download or take part of my library?
If it was to be shared complete it would be a map containing a .h file, a .cpp file, a txt file and a map named example within which there are a .ino file that demonstrates how to use the library.
Sharing the .h and .cpp would be enough but I don't know how to go about ether cases.
I guess I could post the codes manually within
I had started a thread asking help regarding a C/C++(okey arduino) problem, but I ended up solving it by writing a library for arduino. Its just a class built with a header file and a C++ file but when I had solved the problem I'd like to share the solution in the thread but the "manage attachments" does not allow you to upload .cpp file, not .h ether I would guess.
How can I go about enabling people reading my thread to download or take part of my library?
If it was to be shared complete it would be a map containing a .h file, a .cpp file, a txt file and a map named example within which there are a .ino file that demonstrates how to use the library.
Sharing the .h and .cpp would be enough but I don't know how to go about ether cases.
I guess I could post the codes manually within
Code:
statements but that is not ideal, I've come across this before while wanting to share a windows .exe file which I had made my self.
Please advice.
Regards