main.cpp

Committer:
okini3939
Date:
2011-08-19
Revision:
2:a3cc2c4406a7
Parent:
1:cbdf4b99e9d3

File content as of revision 2:a3cc2c4406a7:

#include "mbed.h"

DigitalOut myled(LED1);

/** @file
 *
 * My program.
 */

/** hogehage class
 *
 * This is the class.
 */
class hogehage {
public:
    /** Initialize
     *
     * @retval 0 Success
     * @retval -1 Failure
     */
    int init () { return 0 };

    /** Run
     *
     * @param val Number
     */
    void run (int val) { return };
};

/** hehehe function
 *
 * @param num Number
 * @param buf Pointer of buffer
 * @return Volume
 */
int hehehe (int num, char *buf) {
//    :
}

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}