Rachael Oke / Mbed 2 deprecated CSC1300_EduBaseV2_lab0

Dependencies:   mbed TTU_CSC1300

Files at this revision

API Documentation at this revision

Comitter:
rachaeloke
Date:
Sun Mar 21 19:54:17 2021 +0000
Commit message:
Displayed 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 Mar 21 19:54:17 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 Mar 21 19:54:17 2021 +0000
@@ -0,0 +1,26 @@
+/*
+ *     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);
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Mar 21 19:54:17 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file