serbo4soku

Dependencies:   mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM

Committer:
shimizuta
Date:
Mon Feb 11 01:56:49 2019 +0000
Revision:
9:905f93247688
made program readable

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shimizuta 9:905f93247688 1 #include "pinnames.h"
shimizuta 9:905f93247688 2 #include "mbed.h"
shimizuta 9:905f93247688 3 PinName pin_encoder[][2] = {{p12,p11},};
shimizuta 9:905f93247688 4 PinName pin_motor[][2] = {
shimizuta 9:905f93247688 5 {p21,p22},
shimizuta 9:905f93247688 6 };
shimizuta 9:905f93247688 7 PinName pin_can_rd = p30,
shimizuta 9:905f93247688 8 pin_can_td = p29;
shimizuta 9:905f93247688 9 PinName pin_serial_servo_tx[] = {p9, p13, p28};
shimizuta 9:905f93247688 10 PinName pin_serial_servo_rx[] = {p10, p14, p27};
shimizuta 9:905f93247688 11 PinName pin_touch_sensor[] = {p8};
shimizuta 9:905f93247688 12 PinName pin_button[] = {p18, p17, p16, p15,p19};
shimizuta 9:905f93247688 13 PinName pin_spi_mosi = p5,
shimizuta 9:905f93247688 14 pin_spi_miso = p6,
shimizuta 9:905f93247688 15 pin_spi_sck = p7;