this is only for Jonathon do not download otherwise

Dependencies:   mbed mbed-rtos 4DGL-uLCD-SE

main.cpp

Committer:
flameoball
Date:
2019-02-20
Revision:
0:0dceb954eb2b

File content as of revision 0:0dceb954eb2b:

#include "mbed.h"
#include "rtos.h"
#include "uLCD_4DGL.h"

uLCD_4DGL uLCD(p13,p14,p11); // serial tx, serial rx, reset pin;
DigitalOut myled(LED1);

Mutex lcd_mutex;
void thread1(void const *args){
    
    }
void thread2(void const *args){
    
    }
void thread3(void const *args){
    
    }

int main() {
    Thread t1(thread1); //start thread1
    Thread t2(thread2); //start thread2
    Thread t3(thread3); //start thread3
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}