title: Creating libraries in Arduino sketch folder
body: <p>I'm creating a few classes for a project, which seems so specific that I don't want to keep in the libraries folder. They're mostly working, however, if I want to call any Arduino functions or consts, it will throw errors "is not declared in this scope".</p>
  
  <p>sketch:</p>
  
  <pre><code>#include "MyClass.h"
  void setup(){
  }
  void loop(){
  }
  </code></pre>
  
  <p>MyClass.h</p>
  
  <pre><code>class MyClass{
      public:
          MyClass(int inp);
          int myFun();
  };
  </code></pre>
  
  <p>MyClass.cpp</p>
  
  <pre><code>#include "MyClass.h"
  #include &lt;WProgram.h&gt;
  
  MyClass::MyClass(int inp){
      pinMode(13,HIGH);
  
  }
  </code></pre>
  
  <p>error:</p>
  
  <p>MyClass.cpp: 'HIGH','pinMode' is not declared in this scope.</p>
  
  <p>It wouldn't happen if I put the libraries in libraries folder though. Wondering if there's a way to include arduino functions into sketch folder libraries?</p>