// Avec héritage


//========== .h
#ifndef myLib_H
#define myLib_H
  #if defined(ARDUINO) && ARDUINO >= 100
	#include "Arduino.h"
  #else
	#include <WProgram.h>
	#include "Wire.h"
  #endif  
  #include <myLib.h>


class myLib : public otherLib{
  public:   
    myLib(uint8_t param);	
};

#endif


//==========.cpp
#include "myLib.h"

//<<CONSTRUCTOR>>
myLib::myLib(uint8_t param) : otherLib(param)
{
  
}