Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TTU_CSC1300
main.cpp
- Committer:
- blmarshall
- Date:
- 2021-05-02
- Revision:
- 0:b65c8c35b626
File content as of revision 0:b65c8c35b626:
/*
* Lab #: 0
* Lab Title: Lab0
* Author(s): Baron Marshall
* Date: 4/7/21
* Purpose: To have the board show the statement Hello World.
*/
#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)
{
//WRITE SOLUTION HERE
//blinks "Hello, World!" every other second
lcd.printf("Hello, World!");
wait_ms(1000);
lcd.cls();
wait_ms(1000);
}
}