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

Committer:
Navin
Date:
Tue Feb 26 03:51:46 2013 +0000
Revision:
1:9d3340bcd863
Parent:
0:fe5850ccdb6f
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Navin 1:9d3340bcd863 1 /*
Navin 1:9d3340bcd863 2 * This program is free software; you can redistribute it and/or modify
Navin 1:9d3340bcd863 3 * it under the terms of the GNU General Public License as published by
Navin 1:9d3340bcd863 4 * the Free Software Foundation; either version 2 of the License, or
Navin 1:9d3340bcd863 5 * (at your option) any later version.
Navin 1:9d3340bcd863 6 *
Navin 1:9d3340bcd863 7 * This program is distributed in the hope that it will be useful,
Navin 1:9d3340bcd863 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Navin 1:9d3340bcd863 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Navin 1:9d3340bcd863 10 * GNU General Public License for more details.
Navin 1:9d3340bcd863 11 *
Navin 1:9d3340bcd863 12 * You should have received a copy of the GNU General Public License
Navin 1:9d3340bcd863 13 * along with this program; if not, write to the Free Software
Navin 1:9d3340bcd863 14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
Navin 1:9d3340bcd863 15 * MA 02110-1301, USA.
Navin 1:9d3340bcd863 16 *
Navin 1:9d3340bcd863 17 */
Navin 0:fe5850ccdb6f 18 /**
Navin 0:fe5850ccdb6f 19 * Defines a abstract class that allows access to the peripherlas
Navin 0:fe5850ccdb6f 20 * on board when implemented completely.
Navin 0:fe5850ccdb6f 21 */
Navin 0:fe5850ccdb6f 22
Navin 0:fe5850ccdb6f 23 #ifndef _PER_ACCESS_H
Navin 0:fe5850ccdb6f 24 #define _PER_ACCESS_H
Navin 0:fe5850ccdb6f 25 #include "error.h"
Navin 0:fe5850ccdb6f 26 #include <stdint.h>
Navin 0:fe5850ccdb6f 27 class PerAccess
Navin 0:fe5850ccdb6f 28 {
Navin 0:fe5850ccdb6f 29 public:
Navin 0:fe5850ccdb6f 30 virtual uint digitalOut(uint pinNo, uint val) = 0;
Navin 0:fe5850ccdb6f 31 virtual uint digitalIn(uint pinNo, uint * outVal) = 0;
Navin 0:fe5850ccdb6f 32 virtual uint analogIn(uint pinNo, uint * outVal) = 0;
Navin 0:fe5850ccdb6f 33 virtual uint analogOut(uint pinNo, uint val) = 0;
Navin 0:fe5850ccdb6f 34
Navin 0:fe5850ccdb6f 35 };
Navin 0:fe5850ccdb6f 36 #endif