FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 625267a7 authored by ayush1301's avatar ayush1301
Browse files

delay + metal detect threshold

parent 6cde8744
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ bool is_metal = false; ...@@ -57,7 +57,7 @@ bool is_metal = false;
//#define metal_upper_bound 34.0 //#define metal_upper_bound 34.0
//#define non_metal_lower_bound 36.0 //#define non_metal_lower_bound 36.0
//#define non_metal_upper_bound 40.0 //#define non_metal_upper_bound 40.0
float metal_threshold = 9.65; float metal_threshold = 9.45;
float min_val = 100; float min_val = 100;
//Servo //Servo
...@@ -215,7 +215,7 @@ void loop() { ...@@ -215,7 +215,7 @@ void loop() {
//region 4 //region 4
else { else {
move_both(motors, 255); move_both(motors, 255);
delay(800); delay(900);
move_both(motors, 0); move_both(motors, 0);
while(1); while(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment