Luca Jel
/
mbed5a_testy
sdsd
Fork of mbed5a_testy by
Diff: serwo.cpp
- Revision:
- 2:0fcc9b85c8f6
- Parent:
- 1:b8d65b5745d1
diff -r b8d65b5745d1 -r 0fcc9b85c8f6 serwo.cpp --- a/serwo.cpp Fri May 05 20:01:41 2017 +0000 +++ b/serwo.cpp Tue Jun 20 16:02:06 2017 +0000 @@ -28,8 +28,7 @@ enum State eReadDetector (void){ - //if((IO0PIN&DETECTOR_bm) == 0){ - if(det){ + if(det){ return(INACTIVE); }else{ return(ACTIVE);