AS-289R2 library test code for mbed OS 5

Dependencies:   AS289R2

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Tue Jun 07 05:19:50 2022 +0000
Parent:
29:c0d23edea193
Commit message:
update library

Changed in this revision

AS289R2.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
diff -r c0d23edea193 -r 249784fd38fe AS289R2.lib
--- a/AS289R2.lib	Wed Jan 06 01:57:48 2021 +0000
+++ b/AS289R2.lib	Tue Jun 07 05:19:50 2022 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/MACRUM/code/AS289R2/#4699cb4e4cfe
+https://os.mbed.com/users/MACRUM/code/AS289R2/#4699cb4e4cfe5792649d4b0338041df476f8e7ce
\ No newline at end of file
diff -r c0d23edea193 -r 249784fd38fe main.cpp
--- a/main.cpp	Wed Jan 06 01:57:48 2021 +0000
+++ b/main.cpp	Tue Jun 07 05:19:50 2022 +0000
@@ -33,7 +33,7 @@
     tp.initialize();
     tp.putLineFeed(2);
 
-    tp.printf("** Thermal Printer Shield **\r\r");
+    tp.printf("** Thermal Printer Shield v1.0 **\r\r");
 
     tp.setDoubleSizeWidth();
     tp.printf("  AS-289R2\r\r");