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 #ifndef INCLUDED_PINNAMES_H
shimizuta 9:905f93247688 2 #define INCLUDED_PINNAMES_H
shimizuta 9:905f93247688 3 #include "mbed.h"
shimizuta 9:905f93247688 4 /** @file
shimizuta 9:905f93247688 5 @brief pin宣言
shimizuta 9:905f93247688 6 */
shimizuta 9:905f93247688 7 ///[][0]:A相, [][1]:B相のピン
shimizuta 9:905f93247688 8 extern PinName pin_encoder[][2];
shimizuta 9:905f93247688 9 ///[][0]:正転ピン, [][1]:逆転ピン
shimizuta 9:905f93247688 10 extern PinName pin_motor[][2];
shimizuta 9:905f93247688 11 extern PinName pin_can_rd, pin_can_td;
shimizuta 9:905f93247688 12 extern PinName pin_serial_servo_tx[], pin_serial_servo_rx[];
shimizuta 9:905f93247688 13 extern PinName pin_button[];
shimizuta 9:905f93247688 14 extern PinName pin_touch_sensor[];
shimizuta 9:905f93247688 15 extern PinName pin_controller[];
shimizuta 9:905f93247688 16 extern PinName pin_spi_mosi,
shimizuta 9:905f93247688 17 pin_spi_miso,
shimizuta 9:905f93247688 18 pin_spi_sck;
shimizuta 9:905f93247688 19 #endif