Lets you control your mbed from an easy to use GUI. Entire project is on git hub: https://github.com/navin-bhaskar/Controller For usage info follow this link http://navinbhaskar.blogspot.in/2013/02/arduino-controller-3.html

Dependencies:   mbed

PerAccess.h

Committer:
Navin
Date:
2013-02-26
Revision:
0:fe5850ccdb6f
Child:
1:9d3340bcd863

File content as of revision 0:fe5850ccdb6f:

/**
 * Defines a abstract class that allows access to the peripherlas
 * on board when implemented completely.
 */

#ifndef _PER_ACCESS_H
#define _PER_ACCESS_H
#include "error.h"
#include <stdint.h>
class PerAccess
{
    public:
    virtual uint digitalOut(uint pinNo, uint val) = 0;
    virtual uint digitalIn(uint pinNo, uint * outVal) = 0;
    virtual uint analogIn(uint pinNo, uint * outVal) = 0;
    virtual uint analogOut(uint pinNo, uint val) = 0;
    
};
#endif