#ifndef MODULE_H_
#define MODULE_H_

#include "controller_mod.h"
#include "bsdsp.h"

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~ DSP Class Declarations (bsdsp files) ~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  extern oscillator lfo1;
  extern oscillator lfo2;

//Create a child class derived from controllerModule 
//The controller_module sets up all Pot, Switch, and LED pin, mode, and actions

class controller_module:public controllerModule 
{
  public:
  float freq1; 
  float freq2;

  float pan1;
  float pan2;

  void init();
  void onButtonChange(int buttonIndex);
  void onControlChange(int controlIndex);
};

//controller_module myPedal declaration with extern
extern controller_module *myPedal ; 

#endif