Local math class.

Dependents:   DISCO-F746NG_test001

Rand.hpp

Committer:
InoueTakashi
Date:
2016-06-24
Revision:
0:d75b71489993

File content as of revision 0:d75b71489993:

//
//  2016/04/27, Copyright (c) 2016 Takashi Inoue
//  Button OverLapping Class Header
//  ver 0.9 rev 0.1 2016/4/27
//-----------------------------------------------------------

#ifndef RAND_HPP
#define RAND_HPP

#include "mbed.h"
#include <string>

namespace TakaIno
{
class Rand
{

public:
    Rand();

    unsigned long GetRand(void);
    unsigned long GetRand(unsigned long max);    
    
protected:
       static unsigned long x,y,z,w;
};
}
#endif //RAND_HPP