Commit e3eaf05a authored by Balasuriya D.A.M.'s avatar Balasuriya D.A.M.

Create const and add setup for MLX90614

parent 712dd30f
...@@ -3,9 +3,15 @@ ...@@ -3,9 +3,15 @@
#include <Adafruit_MLX90614.h> #include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614(); Adafruit_MLX90614 mlx = Adafruit_MLX90614();
const int buzzer=13;
const int threshold=38;
void setup() { void setup() {
Serial.begin(9600); Serial.begin(9600);
Serial.println("Arduino MLX90614 Testing"); Serial.println("I-Helmet");
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
digitalWrite(buzzer, HIGH);
mlx.begin(); mlx.begin();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment