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
pin_assignment.h
00001 #ifndef PIN_ASSIGNMENTS_H 00002 #define PIN_ASSIGNMENTS_H 00003 00004 #include "encoder.h" 00005 #include "ir_sensor.h" 00006 00007 // Encoders 00008 Encoder leftEncoder(PC_9, PC_8); 00009 Encoder rightEncoder(PA_1, PA_0); 00010 00011 IRSensor leftDiagonalIR(PC_7, PC_4); //emmiter and receiver DIAG LEFT sensor 00012 IRSensor rightDiagonalIR(PB_1, PA_5); //emmiter and receiver DIAG RIGHTsensor 00013 00014 IRSensor rightFrontIR(PB_10, PA_6); 00015 IRSensor leftFrontIR(PC_6, PA_7); 00016 00017 // IRSensors 00018 //IRSensor leftIR(PC_7, PC_5); 00019 //IRSensor rightIR(PB_10, PA_4); 00020 /* 00021 IRSensor rightDiagonalIR(PA_8, PA_5); 00022 IRSensor rightFrontIR(PB_0, PA_6); 00023 IRSensor leftFrontIR(PB_1, PA_7); 00024 IRSensor leftDiagonalIR(PC_6, PC_4); 00025 */ 00026 #endif
Generated on Thu Jul 14 2022 05:30:38 by
