Yosuke Kirihata / Mbed 2 deprecated Nucleo_CaitSith_Firmware_added_delayServo

Dependencies:   mbed

Fork of Nucleo_CaitSith_Firmware by Yosuke Kirihata

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);