sdfghjk

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 DigitalOut gpo(D0);
00004 DigitalOut led(LED_RED);
00005 
00006 int main()
00007 {
00008     char input[11]="0010111010";
00009     printf("Tele_command-1 received=%s\n",input);
00010    printf("HK Voltage Data received from SD is 45");
00011     char code[]="45";
00012     printf("Telemetry_packet-1 sent=10100011%s\n",code);
00013     char input1[]="1010111010";
00014      printf("Tele_command-2 received=%s\n",input1);
00015     printf("HK Current Data received from SD is 23");
00016     char code1[]="23";
00017     printf("Telemetry_packet-2 sent=10000011%s\n",code1);
00018     char input2[]="1110111010";
00019      printf("Tele_command-3 received=%s\n",input2);
00020     printf("HK Temperature Data received from SD is 33");
00021     char code2[]="33";
00022     printf("Telemetry_packet-3 sent=11000011%s\n",code2);
00023     
00024     
00025 }
00026