/*
  Test.h - Test library for Wiring - description
  Copyright (c) 2006 John Doe.  All right reserved.
*/

// ensure this library description is only included once
#ifndef Test_h
#define Test_h

#include <Arduino.h>
#include <Wire.h>

//COONSTANTS
#define ValveDelay 1000    //delay 1000ms
#define pwmON 2500
#define pwmOFF 0
#define numberLED 8

//ARDUINO PINS

#define mixer 2
#define fan 3
#define bg1_clk 4
#define bg1_data 5
#define bg2_clk 6
#define bg2_data 7
#define bg3_clk 8
#define bg3_data 9
#define bg4_clk 39
#define bg4_data 38
#define seg_clk 12
#define seg_data 13

#define bg5_clk 10
#define bg5_data 11
#define bg6_clk 41
#define bg6_data 40
#define bg7_clk 43
#define bg7_data 42
#define bg8_clk 45
#define bg8_data 44
#define btn1 46
#define btn2 47
#define buzzer 48
#define buzzerGND 49
#define RGB_panel 50

//PWM1 PINS
#define RGB3_g 0
#define RGB3_r 1
#define RGB4_g 2
#define RGB4_r 3
#define RGB1_g 12
#define RGB1_r 13
#define RGB2_g 14
#define RGB2_r 15

//PWM2 PINS
#define RGB8_g 0
#define RGB8_r 1
#define RGB9_g 2
#define RGB9_r 3
#define RGB5_g 4
#define RGB5_r 5
#define RGB6_g 6
#define RGB6_r 7
#define RGB7_g 8
#define RGB7_r 9

//PWM3 PINS
#define PWM1 0
#define PWM2 1
#define PWM3 2
#define PWM4 3
#define PWM5 4
#define PWM6 5
#define PWM7 6
#define RGB10_g 12
#define RGB10_r 13
#define RGB11_g 14
#define RGB11_r 15


// library interface description
class Test
{
  // user-accessible "public" interface
  public:
    Test(int);
    void doSomething(void);

  // library-accessible "private" interface
  private:
    int value;
    void doSomethingSecret(void);
};

#endif

