yotsuba no program dayo

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

pin_config.h

Committer:
THtakahiro702286
Date:
2020-02-02
Revision:
13:ea297e3ddf07
Parent:
8:853651aa5f00

File content as of revision 13:ea297e3ddf07:

#ifndef PIN_CONFIG_H
#define PIN_CONFIG_H

#include "mbed.h"

static PinName const dip1in   = PA_11;
static PinName const dip2in   = PA_12;
static PinName const dip3in   = PC_5;
static PinName const b1in     = PB_12;
static PinName const b2in     = PB_2;
static PinName const buzz     = PC_6;
static PinName const lcdsda   = PB_9;
static PinName const lcdscl   = PB_8;

static PinName const pixymosi = PB_15;
static PinName const pixymiso = PB_14;
static PinName const pixysclk = PB_13;
 
static PinName const jysda    = PB_4;
static PinName const jyscl    = PA_8;

static PinName const line1    = A0;
static PinName const line2    = A1;
static PinName const line3    = A2;
static PinName const line4    = A3;
static PinName const line5    = A4;
static PinName const line6    = A5;

static PinName const ESC      = PC_9;
static PinName const kicker   = PA_15;
static PinName const motor1   = PA_6;
static PinName const motor2   = PA_7;
static PinName const motor3   = PB_10;
static PinName const motor4   = PA_9;
static PinName const limitPin = PC_10;



#define PI 3.1415926535897932

#endif