ArduinoComponents icon indicating copy to clipboard operation
ArduinoComponents copied to clipboard

How use Helpers?

Open jrsanchezalcala opened this issue 5 years ago • 1 comments

I,m new working with C++ and esp8266 , But i think this question could be usefull to many people. How use Vector, Function or Ref classes? Wich import i should use ?

Thank you

jrsanchezalcala avatar Aug 24 '20 06:08 jrsanchezalcala

Hi, I'm glad to see someone is trying out the library! I might keep working on it a bit if that's the case (cleaning up some mess I made)

Anyway, the helpers are supposed to work just like std::vector and std::function from the STL. If you are new to cpp I recommend learning about the STL and templates in cpp so you know what to expect from those. Also, because those are really slim implementations, you can look at the header files and understand the usage like that.

Gil.

gilmaimon avatar Aug 30 '20 19:08 gilmaimon