yotsuba no program dayo

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

Committer:
THtakahiro702286
Date:
Sun Feb 02 04:29:59 2020 +0000
Revision:
13:ea297e3ddf07
Parent:
8:853651aa5f00
hokusinetu; last

Who changed what in which revision?

UserRevisionLine numberNew contents of line
piroro4560 0:ac64597d2ef8 1 #ifndef PIN_CONFIG_H
piroro4560 0:ac64597d2ef8 2 #define PIN_CONFIG_H
piroro4560 0:ac64597d2ef8 3
piroro4560 8:853651aa5f00 4 #include "mbed.h"
piroro4560 8:853651aa5f00 5
piroro4560 6:5b6b6db39dd1 6 static PinName const dip1in = PA_11;
piroro4560 6:5b6b6db39dd1 7 static PinName const dip2in = PA_12;
piroro4560 6:5b6b6db39dd1 8 static PinName const dip3in = PC_5;
piroro4560 6:5b6b6db39dd1 9 static PinName const b1in = PB_12;
piroro4560 6:5b6b6db39dd1 10 static PinName const b2in = PB_2;
piroro4560 2:0511e8af8ff4 11 static PinName const buzz = PC_6;
piroro4560 2:0511e8af8ff4 12 static PinName const lcdsda = PB_9;
piroro4560 2:0511e8af8ff4 13 static PinName const lcdscl = PB_8;
piroro4560 0:ac64597d2ef8 14
piroro4560 6:5b6b6db39dd1 15 static PinName const pixymosi = PB_15;
piroro4560 6:5b6b6db39dd1 16 static PinName const pixymiso = PB_14;
piroro4560 6:5b6b6db39dd1 17 static PinName const pixysclk = PB_13;
piroro4560 5:26d5eff36b72 18
piroro4560 5:26d5eff36b72 19 static PinName const jysda = PB_4;
piroro4560 5:26d5eff36b72 20 static PinName const jyscl = PA_8;
piroro4560 0:ac64597d2ef8 21
piroro4560 2:0511e8af8ff4 22 static PinName const line1 = A0;
piroro4560 2:0511e8af8ff4 23 static PinName const line2 = A1;
piroro4560 2:0511e8af8ff4 24 static PinName const line3 = A2;
piroro4560 2:0511e8af8ff4 25 static PinName const line4 = A3;
piroro4560 2:0511e8af8ff4 26 static PinName const line5 = A4;
piroro4560 2:0511e8af8ff4 27 static PinName const line6 = A5;
piroro4560 0:ac64597d2ef8 28
piroro4560 8:853651aa5f00 29 static PinName const ESC = PC_9;
piroro4560 8:853651aa5f00 30 static PinName const kicker = PA_15;
piroro4560 8:853651aa5f00 31 static PinName const motor1 = PA_6;
piroro4560 8:853651aa5f00 32 static PinName const motor2 = PA_7;
piroro4560 8:853651aa5f00 33 static PinName const motor3 = PB_10;
piroro4560 8:853651aa5f00 34 static PinName const motor4 = PA_9;
piroro4560 8:853651aa5f00 35 static PinName const limitPin = PC_10;
piroro4560 8:853651aa5f00 36
piroro4560 8:853651aa5f00 37
piroro4560 8:853651aa5f00 38
piroro4560 8:853651aa5f00 39 #define PI 3.1415926535897932
piroro4560 0:ac64597d2ef8 40
piroro4560 0:ac64597d2ef8 41 #endif