Code verändert, läuft noch nicht

This commit is contained in:
Johannes Krug
2019-06-21 11:27:24 +02:00
parent e0e17d489f
commit 8e04a74abc
8 changed files with 521 additions and 9 deletions
@@ -28,7 +28,6 @@
*/
#include <Wire.h>
#include "MLX90640_API.h"
#include "MLX90640_I2C_Driver.h"
@@ -86,10 +85,10 @@ void loop()
float tr = Ta - TA_SHIFT; //Reflected temperature based on the sensor ambient temperature
float emissivity = 0.95;
Serial.print("loop-schleife");
MLX90640_CalculateTo(mlx90640Frame, &mlx90640, emissivity, tr, mlx90640To);
}
Serial.print("loop-schleife2");
for (int x = 0 ; x < 10 ; x++)
{
Serial.print("Pixel ");
@@ -110,4 +109,5 @@ boolean isConnected()
if (Wire.endTransmission() != 0)
return (false); //Sensor did not ACK
return (true);
}
Serial.print("verbunden");
}