Skip to content

Commit a834924

Browse files
author
Main Push Robot
committed
Committing dev changes
1 parent cc45759 commit a834924

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Hall-Effect-Digital-easyC-SOLDERED.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,5 @@ bool HallEffect_Digital_EasyC::getReading()
2323
// Both must be read but we're only interested in the first one
2424
char value[2];
2525
readRegister(0, value, 2);
26-
27-
// kako radi
28-
/*
29-
// Reading threshold in case of noise
30-
bool result;
31-
if(value > 10)
32-
{
33-
result = true;
34-
}
35-
else
36-
{
37-
result = false;
38-
}*/
39-
4026
return !value[1];
4127
}

0 commit comments

Comments
 (0)