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.
Fork of Nucleo_CaitSith_Firmware by
def_resources.cpp
- Committer:
- YosukeK
- Date:
- 2014-11-08
- Revision:
- 3:9ac9fdf1856e
- Parent:
- 2:91135f19ac12
- Child:
- 4:039a7d1ce3e9
File content as of revision 3:9ac9fdf1856e:
/* Controller firmware for CaitSithDanger Kyoto-Densou-An 2014 Author : yishii */ #include <mbed.h> #include <PwmServo.h> #include <ExtendedServo.h> #include <DelayServo.h> //#include <RobotArm.h> DelayServo shakeHead(PA_10, 25, 10000, 170, 5, 100, true); DelayServo nodHead(PB_10, 25, 10000, 170, 5, 110, true); DelayServo leftArm(PA_8, 10, 10000, 170, 5, 94, true); DelayServo leftShoulder(PA_9, 10, 10000, 170, 5, 90, true); DelayServo rightArm(PB_8, 10, 10000, 170, 5, 116, true); DelayServo rightShoulder(PB_9, 10, 10000, 170, 5, 90, false); ExtendedServo oyatsuFeeder(PA_0, 170, 10, 0, false); Serial pc(SERIAL_TX, SERIAL_RX); DigitalOut myled(LED1); DigitalOut nyandaLight(PA_13);