Hardwaresimulation auf dem PC
Embed:
(wiki syntax)
Show/hide line numbers
VH.h
00001 #include "mbed.h" 00002 00003 class VH 00004 { 00005 //(USBTX,USPRX); 00006 private: 00007 00008 public: 00009 /** Create VH Instance 00010 */ 00011 VH(void); 00012 00013 BufferedSerial *serial_port;//(USBTX, USBRX); 00014 00015 00016 00017 00018 /** löscht das Display 00019 */ 00020 void eingabe(void); 00021 void ausgabe(char nr); 00022 char buffer[10]; 00023 char outbuffer[10]; 00024 int a,b,c; 00025 00026 private: 00027 char gibZeichen(void); 00028 void setZeichen(char c); 00029 Thread *warteAufEingabe; 00030 00031 00032 };
Generated on Sat Jul 23 2022 13:29:45 by
1.7.2