This is my quadcopter prototype software, still in development!

Committer:
Anaesthetix
Date:
Tue Jul 23 14:01:42 2013 +0000
Revision:
1:ac68f0368a77
Parent:
0:978110f7f027
Other accelerometer added

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Anaesthetix 0:978110f7f027 1
Anaesthetix 0:978110f7f027 2 #ifndef MBED_DEVICE_H
Anaesthetix 0:978110f7f027 3 #define MBED_DEVICE_H
Anaesthetix 0:978110f7f027 4
Anaesthetix 0:978110f7f027 5 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
Anaesthetix 0:978110f7f027 6
Anaesthetix 0:978110f7f027 7 #define DEVICE_PORTIN 1
Anaesthetix 0:978110f7f027 8 #define DEVICE_PORTOUT 1
Anaesthetix 0:978110f7f027 9 #define DEVICE_PORTINOUT 1
Anaesthetix 0:978110f7f027 10
Anaesthetix 0:978110f7f027 11 #define DEVICE_INTERRUPTIN 1
Anaesthetix 0:978110f7f027 12
Anaesthetix 0:978110f7f027 13 #define DEVICE_ANALOGIN 1
Anaesthetix 0:978110f7f027 14 #define DEVICE_ANALOGOUT 1
Anaesthetix 0:978110f7f027 15
Anaesthetix 0:978110f7f027 16 #define DEVICE_SERIAL 1
Anaesthetix 0:978110f7f027 17
Anaesthetix 0:978110f7f027 18 #define DEVICE_I2C 1
Anaesthetix 0:978110f7f027 19 #define DEVICE_I2CSLAVE 1
Anaesthetix 0:978110f7f027 20
Anaesthetix 0:978110f7f027 21 #define DEVICE_SPI 1
Anaesthetix 0:978110f7f027 22 #define DEVICE_SPISLAVE 1
Anaesthetix 0:978110f7f027 23
Anaesthetix 0:978110f7f027 24 #define DEVICE_CAN 1
Anaesthetix 0:978110f7f027 25
Anaesthetix 0:978110f7f027 26 #define DEVICE_RTC 1
Anaesthetix 0:978110f7f027 27
Anaesthetix 0:978110f7f027 28 #define DEVICE_ETHERNET 1
Anaesthetix 0:978110f7f027 29
Anaesthetix 0:978110f7f027 30 #define DEVICE_PWMOUT 1
Anaesthetix 0:978110f7f027 31
Anaesthetix 0:978110f7f027 32 #elif defined(TARGET_LPC11U24)
Anaesthetix 0:978110f7f027 33
Anaesthetix 0:978110f7f027 34 #define DEVICE_PORTIN 1
Anaesthetix 0:978110f7f027 35 #define DEVICE_PORTOUT 1
Anaesthetix 0:978110f7f027 36 #define DEVICE_PORTINOUT 1
Anaesthetix 0:978110f7f027 37
Anaesthetix 0:978110f7f027 38 #define DEVICE_INTERRUPTIN 1
Anaesthetix 0:978110f7f027 39
Anaesthetix 0:978110f7f027 40 #define DEVICE_ANALOGIN 1
Anaesthetix 0:978110f7f027 41 #define DEVICE_ANALOGOUT 0
Anaesthetix 0:978110f7f027 42
Anaesthetix 0:978110f7f027 43 #define DEVICE_SERIAL 1
Anaesthetix 0:978110f7f027 44
Anaesthetix 0:978110f7f027 45 #define DEVICE_I2C 1
Anaesthetix 0:978110f7f027 46 #define DEVICE_I2CSLAVE 1
Anaesthetix 0:978110f7f027 47
Anaesthetix 0:978110f7f027 48 #define DEVICE_SPI 1
Anaesthetix 0:978110f7f027 49 #define DEVICE_SPISLAVE 1
Anaesthetix 0:978110f7f027 50
Anaesthetix 0:978110f7f027 51 #define DEVICE_CAN 0
Anaesthetix 0:978110f7f027 52
Anaesthetix 0:978110f7f027 53 #define DEVICE_RTC 0
Anaesthetix 0:978110f7f027 54
Anaesthetix 0:978110f7f027 55 #define DEVICE_ETHERNET 0
Anaesthetix 0:978110f7f027 56
Anaesthetix 0:978110f7f027 57 #define DEVICE_PWMOUT 1
Anaesthetix 0:978110f7f027 58
Anaesthetix 0:978110f7f027 59 #endif
Anaesthetix 0:978110f7f027 60
Anaesthetix 0:978110f7f027 61 #endif
Anaesthetix 0:978110f7f027 62