serbo4soku

Dependencies:   mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM

pinnames/pinnames.h

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

File content as of revision 9:905f93247688:

#ifndef INCLUDED_PINNAMES_H
#define INCLUDED_PINNAMES_H
#include "mbed.h"
/** @file
@brief pin宣言
*/
///[][0]:A相, [][1]:B相のピン
extern PinName pin_encoder[][2];
///[][0]:正転ピン, [][1]:逆転ピン
extern PinName pin_motor[][2];
extern PinName pin_can_rd, pin_can_td;
extern PinName pin_serial_servo_tx[], pin_serial_servo_rx[];
extern PinName pin_button[];
extern PinName pin_touch_sensor[];
extern PinName pin_controller[];
extern PinName pin_spi_mosi,
       pin_spi_miso,
       pin_spi_sck;
#endif