Lab 1 Program C
Fork of mbed by
mbed.h@44:1c5f591fce58, 2015-09-29 (annotated)
- Committer:
- mattsims12
- Date:
- Tue Sep 29 03:04:58 2015 +0000
- Revision:
- 44:1c5f591fce58
- Parent:
- 27:7110ebee3484
Lab 1 Program C
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon.ford@mbed.co.uk | 0:82220227f4fa | 1 | /* mbed Microcontroller Library |
emilmont | 27:7110ebee3484 | 2 | * Copyright (c) 2006-2011 ARM Limited. All rights reserved. |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 3 | */ |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 4 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 5 | #ifndef MBED_H |
simon.ford@mbed.co.uk | 0:82220227f4fa | 6 | #define MBED_H |
simon.ford@mbed.co.uk | 5:62573be585e9 | 7 | |
emilmont | 27:7110ebee3484 | 8 | #define MBED_LIBRARY_VERSION 29 |
simon.ford@mbed.co.uk | 0:82220227f4fa | 9 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 10 | // Useful C libraries |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 11 | #include <stdio.h> |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 12 | #include <stdlib.h> |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 13 | #include <string.h> |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 14 | #include <math.h> |
rolf.meyer@arm.com | 14:20a79241b4a0 | 15 | #include <time.h> |
simon.ford@mbed.co.uk | 0:82220227f4fa | 16 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 17 | // mbed Debug libraries |
emilmont | 27:7110ebee3484 | 18 | |
rolf.meyer@arm.com | 12:f63353af7be8 | 19 | #include "error.h" |
emilmont | 27:7110ebee3484 | 20 | #include "mbed_interface.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 21 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 22 | // mbed Peripheral components |
emilmont | 27:7110ebee3484 | 23 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 24 | #include "DigitalIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 25 | #include "DigitalOut.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 26 | #include "DigitalInOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 27 | #include "BusIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 28 | #include "BusOut.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 29 | #include "BusInOut.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 30 | #include "PortIn.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 31 | #include "PortInOut.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 32 | #include "PortOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 33 | #include "AnalogIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 34 | #include "AnalogOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 35 | #include "PwmOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 36 | #include "Serial.h" |
simon | 20:029aa53d7323 | 37 | #include "SerialHalfDuplex.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 38 | #include "SPI.h" |
simon | 20:029aa53d7323 | 39 | #include "SPISlave.h" |
simon | 20:029aa53d7323 | 40 | #include "SPIHalfDuplex.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 41 | #include "I2C.h" |
simon | 22:9114680c05da | 42 | #include "I2CSlave.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 43 | #include "Ethernet.h" |
rolf.meyer@arm.com | 14:20a79241b4a0 | 44 | #include "CAN.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 45 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 46 | // mbed Internal components |
simon.ford@mbed.co.uk | 0:82220227f4fa | 47 | #include "Timer.h" |
simon.ford@mbed.co.uk | 3:aefd12a1f1c5 | 48 | #include "Ticker.h" |
simon.ford@mbed.co.uk | 3:aefd12a1f1c5 | 49 | #include "Timeout.h" |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 50 | #include "LocalFileSystem.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 51 | #include "InterruptIn.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 52 | #include "wait_api.h" |
rolf.meyer@arm.com | 14:20a79241b4a0 | 53 | #include "rtc_time.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 54 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 55 | using namespace mbed; |
simon.ford@mbed.co.uk | 10:fcb9359f0959 | 56 | using namespace std; |
simon.ford@mbed.co.uk | 0:82220227f4fa | 57 | |
simon.ford@mbed.co.uk | 1:6b7f447ca868 | 58 | #endif |
simon.ford@mbed.co.uk | 1:6b7f447ca868 | 59 |