serbo4soku

Dependencies:   mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM

pinnames/pinnames.cpp

Committer:
shimizuta
Date:
2 months ago
Revision:
9:905f93247688

File content as of revision 9:905f93247688:

#include "pinnames.h"
#include "mbed.h"
PinName pin_encoder[][2] = {{p12,p11},};
PinName pin_motor[][2] = {
    {p21,p22},
};
PinName pin_can_rd = p30,
        pin_can_td = p29;
PinName pin_serial_servo_tx[] = {p9, p13, p28};
PinName pin_serial_servo_rx[] = {p10, p14, p27};
PinName pin_touch_sensor[] = {p8};
PinName pin_button[] = {p18, p17, p16, p15,p19};
PinName pin_spi_mosi = p5,
        pin_spi_miso = p6,
        pin_spi_sck = p7;