Implementaion of a weather station using the BMP180 sensor, nokia N5110 lcd screen and the mbed NXP CPC1768 microcontroller

Dependencies:   BMP180 N5110 PowerControl mbed

Fork of DocTest by Craig Evans

main.cpp

Committer:
eencae
Date:
2015-03-11
Revision:
1:6fc14cd8ccf1
Parent:
0:b85460bc73b9
Child:
2:afdc5d6ca47f

File content as of revision 1:6fc14cd8ccf1:

/**
@file main.cpp

@brief Program implementation

*/
#include "main.h"

int main() {
    
    /// flash LED in infinite loop
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}


int sum(int a, int b) {
    
    /// calculate the sum of the two arguments and return
    return a + b;
}