FEP TX program TokiPS4

Dependencies:   FEP_TX22 SerialArduino mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pinconfig.h Source File

pinconfig.h

00001 #ifndef PIN_CONFIG_H
00002 #define PIN_CONFIG_H
00003 
00004 #include "mbed.h"
00005 
00006 /*FEP*/
00007 static PinName const fepTX = PB_3;
00008 static PinName const fepRX = PB_4;
00009 static uint8_t const fepad = 005; // 通信相手のアドレス
00010 
00011 /*PC*/
00012 static PinName const pcTX = USBTX;
00013 static PinName const pcRX = USBRX;
00014 
00015 /*arduino*/
00016 static PinName const TXino = PB_6;
00017 static PinName const RXino = PB_7;
00018 
00019 /*VOLUME*/
00020 static PinName const vol1 = PA_4;
00021 static PinName const vol2 = PA_1;
00022 static PinName const vol3 = PA_0;
00023 
00024 /*遠隔非常停止*/
00025 static PinName const em_stop = PB_1;
00026 
00027 /*TOGGLE*/
00028 static PinName const tgl1 = PA_8;
00029 static PinName const tgl2 = PF_1;
00030 static PinName const tgl3 = PF_0;
00031 
00032 #endif