Jelle Raes / Mbed 2 deprecated VLC_decoder_finished

Dependencies:   mbed

Fork of VLC_decoder_copy_copy_omdatetkan by Jelle Raes

Files at this revision

API Documentation at this revision

Comitter:
JelleRaes
Date:
Mon May 21 14:43:02 2018 +0000
Parent:
5:a9d2050d7a12
Commit message:
final decoder code

Changed in this revision

main.cpp Show diff for this revision Revisions of this file
manchester.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a9d2050d7a12 -r 5de275d946a6 main.cpp
--- a/main.cpp	Wed May 16 08:19:42 2018 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#include "mbed.h"
-#include "manchester.h"
-
-Serial pca(USBTX, USBRX);
- 
-int main(){
-     manchester fukit;
-     while(1){
-        int i = 0;
-        i = fukit.decode();
-        if( i == 5){
-            pca.printf("stopcode not correct");
-        }
-        else{
-            pca.printf("stopcode correct");
-        }
-    }
-}
\ No newline at end of file
diff -r a9d2050d7a12 -r 5de275d946a6 manchester.cpp
--- a/manchester.cpp	Wed May 16 08:19:42 2018 +0000
+++ b/manchester.cpp	Mon May 21 14:43:02 2018 +0000
@@ -5,7 +5,6 @@
 Serial pc(USBTX, USBRX);
 Timer timer;
 Timeout timeout;
-int datal[] = {1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 bool notTimedOut;
 
 manchester::manchester()