keiichi shimazu / Mbed 2 deprecated NITKK2019_WinterB-Manual_madebyshimazu

Dependencies:   mbed mdc_read

pinmap.h

Committer:
shimazukeiichi
Date:
2019-12-28
Revision:
4:90b840185921
Parent:
2:43e1336c80e4

File content as of revision 4:90b840185921:

#ifndef PINMAP_H
#define PINMAP_H
#include"mbed.h"
#include "SBDBT.h"
#include "mdc.h"

DigitalIn ls(D5,PullUp);
sbdbt sb(PA_0,PA_1,115200);
Serial pc(USBTX,USBRX,115200);
I2C i2c(D5,D7);

motor mt1(i2c,0x22);
motor mt2(i2c,0x24);
motor mt3(i2c,0x28);
motor mt4(i2c,0x30);
motor mt5(i2c,0x32);
motor mt6(i2c,0x34);
#endif