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.
Fork of VLC_decoder_copy_copy_omdatetkan by
Revision 6:5de275d946a6, committed 2018-05-21
- 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()
