kani

Dependencies:   2017NHKpin_config FEP omni_wheel PID R1307 ikarashiMDC

classDiagram

    \ ̄\                   / ̄/ 
/l     \  \             /  / lヽ  
| ヽ  ヽ   |           |  /  / | 
\ ` ‐ヽ  ヽ  ●        ●         /  / ‐  / 
  \ __ l  |  ||___|| /  l __ / 
     \  \ /      \/ 
      /\|   人__人  |/\    <ズワイガニ  
    //\|             |/\\     
    //\|   ケガニ            |/\\     
    /     . \_____/         \ 

                               ┏┓        ┏━┓┏┓              
     ┏┓         ┏┓┏┓   ┏┓    ┏┓┗┛     ┏┓ ┗┓┃┗┛              
┏┛┗━┓  ┃┃┃┃    ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ 
┗┓┏━┛  ┃┃┗┛    ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛    
┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓      ┏┛┃┃┃        ┃┃              
┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛      ┗━┛┃┃        ┃┃┏┓          
┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃         ┏┛┃        ┃┃┃┗━━┓    
┗┛┗━━┛┗━━━┛┗┛┗━━┛         ┗━┛        ┗┛┗━━━┛  
Committer:
takeuchi
Date:
Fri Dec 22 17:34:28 2017 +0900
Revision:
55:f9e13797024f
Parent:
38:fbd5242ab2b3
reflesh code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
uchitake 9:39be1525dfe0 1 #ifndef SLIDER_H
uchitake 9:39be1525dfe0 2 #define SLIDER_H
uchitake 9:39be1525dfe0 3
uchitake 9:39be1525dfe0 4 #include "mbed.h"
uchitake 9:39be1525dfe0 5 #include "pin_config.h"
uchitake 9:39be1525dfe0 6 #include "ikarashiMDC.h"
uchitake 9:39be1525dfe0 7
uchitake 9:39be1525dfe0 8 class Slider {
uchitake 9:39be1525dfe0 9 public:
uchitake 9:39be1525dfe0 10 Slider(DigitalOut* RS485Controller, Serial *RS485);
uchitake 9:39be1525dfe0 11
uchitake 9:39be1525dfe0 12 void slide(float speed);
uchitake 9:39be1525dfe0 13 private:
uchitake 9:39be1525dfe0 14 ikarashiMDC slideMotor;
takeuchi 37:6b6616008e78 15 DigitalIn downLimitSwitch;
takeuchi 37:6b6616008e78 16 DigitalIn upLimitSwitch;
uchitake 16:50651ff960b9 17 Serial slideSerial;
uchitake 9:39be1525dfe0 18 };
uchitake 9:39be1525dfe0 19
uchitake 9:39be1525dfe0 20 #endif