Rachael Oke / Mbed 2 deprecated CSC1300_EduBaseV2_lab0

Dependencies:   mbed TTU_CSC1300

main.cpp

Committer:
rachaeloke
Date:
2021-03-21
Revision:
0:0926fa95b1f3

File content as of revision 0:0926fa95b1f3:

/*
 *     Lab #:
 * Lab Title:
 * Author(s):
 *      Date:
 *   Purpose:
 */

#include "mbed.h"
#include "TTU_CSC1300.h"

//FUNCTION PROTOTYPES GO HERE
TextLCD lcd(TextLCD::LCD_CURSOR_ON_BLINKING_ON);

int main()
{
    //this while(TRUE) loop keeps the program running
    while(TRUE)
    {
        //blinks "Hello, World!" every other second
lcd.printf("Hello, World!");
wait_ms(1000);
lcd.cls();
wait_ms(1000);
    }
}