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.
Diff: main.cpp
- Revision:
- 1:254373c96125
- Parent:
- 0:2a72f8a7d7ee
--- a/main.cpp Thu Jul 18 02:25:16 2013 +0000
+++ b/main.cpp Wed Aug 14 01:19:20 2013 +0000
@@ -1,14 +1,14 @@
#include "mbed.h"
-Serial speakJet(PTC4, PTC3); // tx, rx
+Serial speakJet(PTA2, PTA1); // tx, rx
unsigned int message[] = {
/* hello */ 183, 007, 159, 146, 164, 6, 6,
/* my */ 140, 155, 6,
/* name */ 141, 154, 140, 6,
/* is */ 8, 129, 167, 6,
- /* freescale*/ 8, 186, 148, 8, 128, 175, 8, 138, 6, 15, 140, 6,
- /* freedom */ 8, 186, 148, 8, 128, 187, 195, 154, 145, 6
+ /* freescale*/ 8, 186, 148, 8, 128, 187, 195, 154, 145, 6,
+ /* freedom */ 8, 186, 148, 8, 128, 175, 8, 138, 6, 15, 140, 6
};
int i, messageSize = 40; // sizeof() function is NOT accurate!