
Dog Feeder IR sensor storage measuring system
Diff: main.cpp
- Revision:
- 1:199d787f2181
- Parent:
- 0:91fca95621fe
- Child:
- 2:6cb4b93e2b74
--- a/main.cpp Mon Jan 25 18:19:34 2016 +0000 +++ b/main.cpp Tue Jan 26 09:18:46 2016 +0000 @@ -19,7 +19,7 @@ IRled = 1; wait_us(100); double light = photores; - if(light >= 0.5) { + if(light >= 0.15) { ledred = 0; PiSign = 1; } else {