Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Roboshark_V62 by
Revision 5:e715d157ced5, committed 2018-04-26
- Comitter:
- ahlervin
- Date:
- Thu Apr 26 05:58:07 2018 +0000
- Parent:
- 4:767fd282dd9c
- Child:
- 6:7bbcdd07bc2d
- Commit message:
- bug fix
Changed in this revision
| IRSensor.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/IRSensor.cpp Tue Apr 24 18:16:05 2018 +0000
+++ b/IRSensor.cpp Thu Apr 26 05:58:07 2018 +0000
@@ -94,10 +94,10 @@
int IRSensor ::codeF(){
- if(disF < minIrR) {
+ if(disF < minIrF) {
IrF = 1;
} else { IrF = 0; }
- return ende;//IrF;
+ return IrF;//IrF;
}
void IRSensor :: codeB() {
