Pradeep Kotipalli
/
dummy_tc
sdfghjk
Diff: main.cpp
- Revision:
- 0:3b6785f2f520
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Mar 13 20:29:48 2015 +0000 @@ -0,0 +1,26 @@ +#include "mbed.h" + +DigitalOut gpo(D0); +DigitalOut led(LED_RED); + +int main() +{ + char input[11]="0010111010"; + printf("Tele_command-1 received=%s\n",input); + printf("HK Voltage Data received from SD is 45"); + char code[]="45"; + printf("Telemetry_packet-1 sent=10100011%s\n",code); + char input1[]="1010111010"; + printf("Tele_command-2 received=%s\n",input1); + printf("HK Current Data received from SD is 23"); + char code1[]="23"; + printf("Telemetry_packet-2 sent=10000011%s\n",code1); + char input2[]="1110111010"; + printf("Tele_command-3 received=%s\n",input2); + printf("HK Temperature Data received from SD is 33"); + char code2[]="33"; + printf("Telemetry_packet-3 sent=11000011%s\n",code2); + + +} +