未完成

Dependencies:   linemiconget petbottle_Loadin5port Kinect OmniPosition PID QEI led R1307 S-ShapeModel SerialMultiByte TFmini fep2 ikarashiMDC linesSnsor omni_wheel solenoid_valve

main.cpp

Committer:
tanabe2000
Date:
2018-10-16
Revision:
2:c501f6845500
Parent:
0:7822f4172b0c

File content as of revision 2:c501f6845500:

#include "mbed.h"
#include "pin_config.h"
#include "gakubot.h"
//#include "petbottleLoading.h"

GakuBot gakugaku;
//petbottleLoading loading;
Serial pc(USBTX, USBRX, 115200);
Timer mainT;
DigitalIn toggle(PC_3);

int main()
{
    toggle.mode(PullUp);
    while(1) {
        gakugaku.botConfirm();//いじるな

//        gakugaku.autoMode1();//赤
        gakugaku.autoMode2();//青
    

}

}