Proyecto Nivel, Edgar Ochoa, Erik Garcia

Dependencies:   MMA8451Q mbed

Ochoa.h

Committer:
verden32
Date:
2016-02-12
Revision:
19:740f78af2ece
Parent:
18:d02a42c965a0

File content as of revision 19:740f78af2ece:

#ifndef OCHOA
#define OCHOA

#include "mbed.h"

        r = 1.0 - abs(data[0]/16500.0);
        g = 1.0 - abs(data[1]/16500.0);
        b = 1.0 - abs(data[2]/16500.0);
        
    
        

#endif