Baron Marshall / Mbed 2 deprecated EduBaseV2_Lab0

Dependencies:   mbed TTU_CSC1300

Files at this revision

API Documentation at this revision

Comitter:
blmarshall
Date:
Sun May 02 00:37:19 2021 +0000
Commit message:
This program displays Hello World!

Changed in this revision

TTU_CSC1300.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TTU_CSC1300.lib	Sun May 02 00:37:19 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/jwbruce/code/TTU_CSC1300/#7bb32dea705b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun May 02 00:37:19 2021 +0000
@@ -0,0 +1,27 @@
+/*
+ *     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);
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun May 02 00:37:19 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file