![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
.
Dependencies: mbed Servo MFRC522_Updated HC-SR04 ssd1306_library
Revision 3:3eb3185401f9, committed 2020-06-10
- Comitter:
- andres0705
- Date:
- Wed Jun 10 15:49:27 2020 +0000
- Parent:
- 2:ad8f0cdf7015
- Commit message:
- .
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jun 10 15:41:43 2020 +0000 +++ b/main.cpp Wed Jun 10 15:49:27 2020 +0000 @@ -89,7 +89,7 @@ display1=1; display2=0; display3=0; - display7Seg=anodeComun[d]; + display7Seg=anodeComun[c]; //ThisThread::sleep_for(25); wait(0.003); @@ -97,7 +97,7 @@ display1=0; display2=1; display3=0; - display7Seg=anodeComun[u]; + display7Seg=anodeComun[d]; //ThisThread::sleep_for(25); wait(0.003); @@ -105,7 +105,7 @@ display1=0; display2=0; display3=1; - display7Seg=anodeComun[c]; + display7Seg=anodeComun[u]; //ThisThread::sleep_for(25); wait(0.003); @@ -201,7 +201,7 @@ } int main() { - myservo.calibrate(0.0015,360); + myservo.calibrate(0.0015,180); set_time(1591673863); RfChip.PCD_Init(); t.start((servo));