Manchester transmitter demo.

Dependencies:   Manchester mbed CRC16 ManchesterMsg

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Sun Oct 14 09:43:23 2018 +0000
Parent:
2:0ab7d3335571
Commit message:
Number of sunc pulses in preamble can be set.

Changed in this revision

CRC16.lib Show annotated file Show diff for this revision Revisions of this file
Manchester.lib Show annotated file Show diff for this revision Revisions of this file
ManchesterMsg.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 0ab7d3335571 -r 28ae6f223bed CRC16.lib
--- a/CRC16.lib	Sun May 21 19:21:31 2017 +0000
+++ b/CRC16.lib	Sun Oct 14 09:43:23 2018 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/hudakz/code/CRC16/#352debdce7b3
+https://developer.mbed.org/users/hudakz/code/CRC16/#3f5622979e77
diff -r 0ab7d3335571 -r 28ae6f223bed Manchester.lib
--- a/Manchester.lib	Sun May 21 19:21:31 2017 +0000
+++ b/Manchester.lib	Sun Oct 14 09:43:23 2018 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/hudakz/code/Manchester/#3b2c7e9fda3f
+https://developer.mbed.org/users/hudakz/code/Manchester/#c1b5893191fe
diff -r 0ab7d3335571 -r 28ae6f223bed ManchesterMsg.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ManchesterMsg.lib	Sun Oct 14 09:43:23 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/hudakz/code/ManchesterMsg/#260cfaa4e8b5
diff -r 0ab7d3335571 -r 28ae6f223bed main.cpp
--- a/main.cpp	Sun May 21 19:21:31 2017 +0000
+++ b/main.cpp	Sun Oct 14 09:43:23 2018 +0000
@@ -8,6 +8,7 @@
 CRC16           crc16;                  // CRC16 object
 
 int main(void) {
+    man.setPreamble(5);                             // Number of sync pulses in preamble
     while(1) {
         msg.clear();                                // Clear the message
         msg << "Hello World!" << 0xfa74c309;        // Add some data to the message
diff -r 0ab7d3335571 -r 28ae6f223bed mbed.bld
--- a/mbed.bld	Sun May 21 19:21:31 2017 +0000
+++ b/mbed.bld	Sun Oct 14 09:43:23 2018 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/4eea097334d6
\ No newline at end of file
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file