Edgar Ochoa
/
ProyectoNivel
Proyecto Nivel, Edgar Ochoa, Erik Garcia
Diff: main.cpp
- Revision:
- 10:76ab6531ba6f
- Parent:
- 9:4c0271cd6e49
- Child:
- 22:de1ab79df237
--- a/main.cpp Wed Feb 10 19:43:57 2016 +0000 +++ b/main.cpp Wed Feb 10 19:53:14 2016 +0000 @@ -19,7 +19,7 @@ while(1) { acc.getAccAllAxis(data); - + r = 1.0 - abs(data[0]/16500.0); g = 1.0 - abs(data[1]/16500.0); b = 1.0 - abs(data[2]/16500.0);