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
Diff: main.cpp
- Revision:
- 0:0926fa95b1f3
--- /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