ec
Fork of EC by
Diff: EC.h
- Revision:
- 1:d10ca555a103
- Parent:
- 0:20fc96400ca3
- Child:
- 2:a9216df32be6
diff -r 20fc96400ca3 -r d10ca555a103 EC.h --- a/EC.h Thu Jun 16 07:36:15 2016 +0000 +++ b/EC.h Wed Jun 29 04:36:25 2016 +0000 @@ -63,7 +63,7 @@ * while(1){ * pc.printf(" count1=%d ",Ec1.getCount()); * pc.printf(" omega1=%f\r\n ",Ec1.getOmega()); - * if(button) Ec1.reset(); //USERボタンを押したらリセット + * if(!button) Ec1.reset(); //USERボタンを押したらリセット * } * } * @endcode