Jack Hansdampf / MFS_Display_HAL

Dependents:   MFS_ADC MFS-7_Segment-Interrupt MFS_USART_Test_HAL MFS_02-Luftschlange ... more

Revision:
5:babdf868f544
Parent:
4:49654888d57b
Child:
6:c7907f21fe02
--- a/MFS.cpp	Thu Feb 04 12:55:05 2021 +0000
+++ b/MFS.cpp	Tue Mar 02 13:11:25 2021 +0000
@@ -98,4 +98,9 @@
         dieSegmente=(~wert)&0xFF;
         dieAuswahl=(wert/0x100);
         send();
+    }
+    
+    MFS::operator int(void)
+    {
+        return dieAuswahl*0x100+dieSegmente;
     }
\ No newline at end of file