TESIS SATUROMETRICA / vector_int24
Committer:
cesarcazal
Date:
Wed Mar 29 02:17:17 2017 +0000
Revision:
1:d043a9b85963
EJEMPLO NRF5X

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cesarcazal 1:d043a9b85963 1 #ifndef MBED_VECTOR_INTEGER_H
cesarcazal 1:d043a9b85963 2 #define MBED_VECTOR_INTEGER_H
cesarcazal 1:d043a9b85963 3
cesarcazal 1:d043a9b85963 4 #include "mbed.h"
cesarcazal 1:d043a9b85963 5
cesarcazal 1:d043a9b85963 6 //LOS VALORES SON DEVUELTOS EN FORMATO INT32; SIN EMBARGO SOLO SE REALIZAN CONVERSIONES EQUIVALENTES A VARIABLES DE 24BITS
cesarcazal 1:d043a9b85963 7
cesarcazal 1:d043a9b85963 8 int pointer_to_int (char *vect);//función que devuelve un int32 acorde al valor del puntero "vect", donde el LSB es point[0]
cesarcazal 1:d043a9b85963 9 void int_to_pointer (int dato, char *point);//función que coloca los valores de "dato" en el puntero "point", donde el LSB se encuentra en point[0];
cesarcazal 1:d043a9b85963 10
cesarcazal 1:d043a9b85963 11 #endif