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.
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Revision 48:18919bb88fa1, committed 2016-01-12
- Comitter:
- shreeshas95
- Date:
- Tue Jan 12 13:12:16 2016 +0000
- Parent:
- 47:5660bd20b146
- Child:
- 50:7e4aa9f82e05
- Commit message:
- RX1M integrated. gives output as TC list complete for 32 random telecommands
Changed in this revision
| DefinitionsAndGlobals.h | 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 |
--- a/DefinitionsAndGlobals.h Mon Jan 11 12:01:14 2016 +0000
+++ b/DefinitionsAndGlobals.h Tue Jan 12 13:12:16 2016 +0000
@@ -1,8 +1,8 @@
// **************DEFINITIONS*********************
// COM_RX
#define RX_TIMEOUT_LIMIT 0.5
- #define COM_RX_UART_TX USBTX
- #define COM_RX_UART_RX USBRX
+ #define COM_RX_UART_TX PTE20
+ #define COM_RX_UART_RX PTE21
// COMMON SPI
#define SPI_MOSI PTE1
--- a/main.cpp Mon Jan 11 12:01:14 2016 +0000
+++ b/main.cpp Tue Jan 12 13:12:16 2016 +0000
@@ -24,6 +24,7 @@
int main()
{
+
// ******************INITIALISATIONS START******************
// COM RX
RX1M.baud(1200);
@@ -35,7 +36,8 @@
RX1M.attach(&rx_read, Serial::RxIrq);
// DEBUG
-// gPC.puts("welcome to mng_tm_tc\r\n");
+ gPC.baud(1200);
+ gPC.puts("welcome to mng_tm_tc\r\n");
// COMMON SPI
spi.format(8,0);
