Omar Espinoza / Mbed 2 deprecated Funcion_ejemplo1

Dependencies:   mbed

main.cpp

Committer:
omarem
Date:
2020-04-03
Revision:
25:8c30b7301294
Parent:
24:7f14b70fc9ef

File content as of revision 25:8c30b7301294:

#include "mbed.h"
Serial com1(USBTX, USBRX);

int inverso
int main{}
{
   printf("Los valores inversos de 1, 2, 3, 4 son:");
   innverso();
   return 0;
    }

    int inverso{}
    
    {
    int a=1, b=2, c=3, d=4;
    printf ("%d %d %d %d", d, c, b, a);
    return inverso;
    }