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
--- 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
--- 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
--- /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
--- 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
--- 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