Programme d'utilisation des AX12 et de l'MX12 V3. 0C = action de l'MX12. (data0) 0 | 1 | 2 = position & sens de rotation

Dependencies:   MX12

Fork of Utilisatio_MX12_V3 by CRAC Team

mbed/PortNames.h

Committer:
R66Y
Date:
2017-05-20
Revision:
5:bb953eda06e7
Parent:
1:f3f702086a30

File content as of revision 5:bb953eda06e7:

/* mbed Microcontroller Library - PortName 
 * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
 */

#ifndef MBED_PORTNAMES_H
#define MBED_PORTNAMES_H

#ifdef __cplusplus
extern "C" {
#endif

#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)

enum PortName {
    Port0 = 0
    , Port1 = 1
    , Port2 = 2
    , Port3 = 3
    , Port4 = 4
};
typedef enum PortName PortName;

#elif defined(TARGET_LPC11U24)

enum PortName {
    Port0 = 0
    , Port1 = 1
};
typedef enum PortName PortName;


#endif

#ifdef __cplusplus
}
#endif
#endif