yotsuba no program dayo

Dependencies:   sensorGen Robot omni_wheel PID jy901 solenoid aqm0802 camera beep kohiMD linesSnsor lpf RCJESC

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pin_config.h Source File

pin_config.h

00001 #ifndef PIN_CONFIG_H
00002 #define PIN_CONFIG_H
00003 
00004 #include "mbed.h"
00005 
00006 static PinName const dip1in   = PA_11;
00007 static PinName const dip2in   = PA_12;
00008 static PinName const dip3in   = PC_5;
00009 static PinName const b1in     = PB_12;
00010 static PinName const b2in     = PB_2;
00011 static PinName const buzz     = PC_6;
00012 static PinName const lcdsda   = PB_9;
00013 static PinName const lcdscl   = PB_8;
00014 
00015 static PinName const pixymosi = PB_15;
00016 static PinName const pixymiso = PB_14;
00017 static PinName const pixysclk = PB_13;
00018  
00019 static PinName const jysda    = PB_4;
00020 static PinName const jyscl    = PA_8;
00021 
00022 static PinName const line1    = A0;
00023 static PinName const line2    = A1;
00024 static PinName const line3    = A2;
00025 static PinName const line4    = A3;
00026 static PinName const line5    = A4;
00027 static PinName const line6    = A5;
00028 
00029 static PinName const ESC      = PC_9;
00030 static PinName const kicker   = PA_15;
00031 static PinName const motor1   = PA_6;
00032 static PinName const motor2   = PA_7;
00033 static PinName const motor3   = PB_10;
00034 static PinName const motor4   = PA_9;
00035 static PinName const limitPin = PC_10;
00036 
00037 
00038 
00039 #define PI 3.1415926535897932
00040 
00041 #endif