We had a discussion in the Pin 13 chat room after this question was posted about starting a Q&A series.

This question is asking a very broad question that can't (and shouldn't) be covered in one answer. AsheeshR suggested the following:

For the library case, we could broadly cover:

  • How do i create the files? (done)
  • How do convert a sketch into a C library?
  • How do I convert a sketch into a C++ library?
  • How do I package a library and share it with others?

The second question could further be broken down to:

  • How do variables interact amongst a .cpp and .h file?
  • How do function definitions in a .cpp and .h file work?
  • How do I hide local functions in my .cpp file?


chat transcript

How interested would you guys be in doing a series like this?

What are some other ideas for a Q&A series?

  • Don't do things covered in many tutorials. Try to stay away from resistors or LEDs; those are everywhere on the web. If you want to go into a rotary encoder or a LCD display, go ahead. Try not to duplicate basic content. Mar 2, 2014 at 14:06
  • Yes, I agree entirely with @AnnonomusPerson . We should do these in cases where the available tutorials are poor, and we have some value to add (i.e. write a better guide, or maybe fill in gaps in existing tutorials).
    – asheeshr
    Mar 2, 2014 at 14:39
  • The second question seems clearly outside the scope of arduino.SE since it is purely related to C++. The first question is more related to Arduino (IDE in particular), although bullets 2 and 3 would be more about program design (and OOO-design for bullet 3)
    – jfpoilpret
    Mar 3, 2014 at 6:10


You must log in to answer this question.

Browse other questions tagged .