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
PortNames.h
00001 /* mbed Microcontroller Library - PortName 00002 * Copyright (c) 2010-2011 ARM Limited. All rights reserved. 00003 */ 00004 00005 #ifndef MBED_PORTNAMES_H 00006 #define MBED_PORTNAMES_H 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif 00011 00012 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) 00013 00014 enum PortName { 00015 Port0 = 0 00016 , Port1 = 1 00017 , Port2 = 2 00018 , Port3 = 3 00019 , Port4 = 4 00020 }; 00021 typedef enum PortName PortName; 00022 00023 #elif defined(TARGET_LPC11U24) 00024 00025 enum PortName { 00026 Port0 = 0 00027 , Port1 = 1 00028 }; 00029 typedef enum PortName PortName; 00030 00031 00032 #endif 00033 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 #endif 00038
Generated on Tue Jul 12 2022 15:52:00 by 1.7.2