111

Dependencies:   4DGL-uLCD-SE AD5206 mbed-rtos mbed

Fork of 4180_proj by ECE4180proj

para.h

Committer:
hanjiex
Date:
2015-12-07
Revision:
13:4cec0e446def
Parent:
12:b6265952fb06

File content as of revision 13:4cec0e446def:

/*
* Author: Hanjie Xie
* para.cpp
* a class to store the parameter which is used
* to change the wave output
*/
#ifndef PARA_H
#define PARA_H

class para {
public:
    int waveform_type;
    int freq;
    float amp;
    //int reset;
    //float offset;
public:
    para();
    void set_type(int);
    void set_freq(int);
    void set_amp(float);
    //void set_reset(int);
    //void set_offset(float);
    int get_type();
    int get_freq();
    float get_amp();
    //int get_reset();
    //float get_offset();
};

#endif //PARA_H