Random number generator

Dependents:   mBuinoBlinky

Random.h

Committer:
feb11
Date:
2013-09-17
Revision:
1:0536a4ca8d35
Parent:
0:299f3795114b
Child:
2:2eb90943983b

File content as of revision 1:0536a4ca8d35:

#ifndef RANDOM_H
#define RANDOM_H

#include "mbed.h"

class Random
{
    public :
        
        Random();
        
        uint8_t getByte();
        void getBytes(uint8_t *out, uint32_t length);

    private :
    
        uint8_t pool[16];
        AnalogIn e,f;
};

#endif