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 TestRegler by
Diff: IRSensor.cpp
- Revision:
- 5:e715d157ced5
- Parent:
- 4:767fd282dd9c
--- 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() {
