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: LSM9DS1 RangeFinder FastPWM
Dependents: PM2_Example_PES_board PM2_Example_PES_board PM2_Example_PES_board PM2_Example_PES_board ... more
PM2_Libary.h
00001 /* PM2_Libary */ 00002 #include "EncoderCounter.h" 00003 #include "Servo.h" 00004 #include "SpeedController.h" 00005 #include "PositionController.h" 00006 #include "FastPWM.h" 00007 #include "RangeFinder.h" 00008 // #include "LSM9DS1_i2c.h" // this thing is a mess 00009 #include "SensorBar.h" 00010 00011 /** PES-Board Versions 00012 * 00013 * New Version | Old Version 00014 * 00015 * DigitalOut enable_motors(PB_15); | DigitalOut enable_motors(PB_2); 00016 * FastPWM pwm_M1(PB_13); | FastPWM pwm_M1(PA_8); 00017 * FastPWM pwm_M2(PA_9); | FastPWM pwm_M2(PA_9); 00018 * EncoderCounter encoder_M1(PA_6, PC_7); | EncoderCounter encoder_M1(PB_6, PB_7); 00019 * EncoderCounter encoder_M2(PB_6, PB_7); | EncoderCounter encoder_M2(PA_6, PC_7); 00020 */
Generated on Tue Jul 12 2022 21:20:55 by
1.7.2