Browse Source

Minor syntaxe corrections

master
Pierrick C 4 years ago
parent
commit
75b75487c9
  1. 6
      code/cat_on_diet_feeder/cat_on_diet_feeder.ino

6
code/cat_on_diet_feeder/cat_on_diet_feeder.ino

@ -9,9 +9,9 @@
const float SERVO_SPEED = 1.8;
const float OPEN_ANGLE = 10.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 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 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 IR_DETECTION_THRESHOLD = 100; //IR dectection threshold
//Pin definitions
#define RED_LED 12

Loading…
Cancel
Save