Minor syntaxe corrections
This commit is contained in:
parent
a703e730d8
commit
75b75487c9
@ -9,9 +9,9 @@
|
|||||||
const float SERVO_SPEED = 1.8;
|
const float SERVO_SPEED = 1.8;
|
||||||
const float OPEN_ANGLE = 10.0;
|
const float OPEN_ANGLE = 10.0;
|
||||||
const float CLOSED_ANGLE = 160.0;
|
const float CLOSED_ANGLE = 160.0;
|
||||||
const float SERVO_PWR_TIME 500 //time to stop powering servomotor after the end of move
|
const float SERVO_PWR_TIME = 500; //time to stop powering servomotor after the end of move
|
||||||
const float DOOR_OPENED_TIME 3000 //time to keep door open after last dectection on IR sensor
|
const float DOOR_OPENED_TIME = 3000; //time to keep door open after last dectection on IR sensor
|
||||||
const float IR_DETECTION_THRESHOLD 100 //IR dectection threshold
|
const float IR_DETECTION_THRESHOLD = 100; //IR dectection threshold
|
||||||
|
|
||||||
//Pin definitions
|
//Pin definitions
|
||||||
#define RED_LED 12
|
#define RED_LED 12
|
||||||
|
Loading…
Reference in New Issue
Block a user