mbed

Dependents:   DHTSensor_Test K64F_eCompass_OneNET_JW

Committer:
mbotkinl
Date:
Wed Feb 25 20:22:22 2015 +0000
Revision:
0:2cc6bb4d7fea
Working code to read Temperature and Humidity readings

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbotkinl 0:2cc6bb4d7fea 1 /* mbed Microcontroller Library
mbotkinl 0:2cc6bb4d7fea 2 * Copyright (c) 2006-2013 ARM Limited
mbotkinl 0:2cc6bb4d7fea 3 *
mbotkinl 0:2cc6bb4d7fea 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbotkinl 0:2cc6bb4d7fea 5 * you may not use this file except in compliance with the License.
mbotkinl 0:2cc6bb4d7fea 6 * You may obtain a copy of the License at
mbotkinl 0:2cc6bb4d7fea 7 *
mbotkinl 0:2cc6bb4d7fea 8 * http://www.apache.org/licenses/LICENSE-2.0
mbotkinl 0:2cc6bb4d7fea 9 *
mbotkinl 0:2cc6bb4d7fea 10 * Unless required by applicable law or agreed to in writing, software
mbotkinl 0:2cc6bb4d7fea 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbotkinl 0:2cc6bb4d7fea 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbotkinl 0:2cc6bb4d7fea 13 * See the License for the specific language governing permissions and
mbotkinl 0:2cc6bb4d7fea 14 * limitations under the License.
mbotkinl 0:2cc6bb4d7fea 15 */
mbotkinl 0:2cc6bb4d7fea 16
mbotkinl 0:2cc6bb4d7fea 17 #ifndef MBED_PERIPHERALPINS_H
mbotkinl 0:2cc6bb4d7fea 18 #define MBED_PERIPHERALPINS_H
mbotkinl 0:2cc6bb4d7fea 19
mbotkinl 0:2cc6bb4d7fea 20 #include "pinmap.h"
mbotkinl 0:2cc6bb4d7fea 21 #include "PeripheralNames.h"
mbotkinl 0:2cc6bb4d7fea 22
mbotkinl 0:2cc6bb4d7fea 23 /************ADC***************/
mbotkinl 0:2cc6bb4d7fea 24 extern const PinMap PinMap_ADC[];
mbotkinl 0:2cc6bb4d7fea 25
mbotkinl 0:2cc6bb4d7fea 26 /************I2C***************/
mbotkinl 0:2cc6bb4d7fea 27 extern const PinMap PinMap_I2C_SDA[];
mbotkinl 0:2cc6bb4d7fea 28 extern const PinMap PinMap_I2C_SCL[];
mbotkinl 0:2cc6bb4d7fea 29
mbotkinl 0:2cc6bb4d7fea 30 /************UART***************/
mbotkinl 0:2cc6bb4d7fea 31 extern const PinMap PinMap_UART_TX[];
mbotkinl 0:2cc6bb4d7fea 32 extern const PinMap PinMap_UART_RX[];
mbotkinl 0:2cc6bb4d7fea 33
mbotkinl 0:2cc6bb4d7fea 34 /************SPI***************/
mbotkinl 0:2cc6bb4d7fea 35 extern const PinMap PinMap_SPI_SCLK[];
mbotkinl 0:2cc6bb4d7fea 36 extern const PinMap PinMap_SPI_MOSI[];
mbotkinl 0:2cc6bb4d7fea 37 extern const PinMap PinMap_SPI_MISO[];
mbotkinl 0:2cc6bb4d7fea 38 extern const PinMap PinMap_SPI_SSEL[];
mbotkinl 0:2cc6bb4d7fea 39
mbotkinl 0:2cc6bb4d7fea 40 /************PWM***************/
mbotkinl 0:2cc6bb4d7fea 41 extern const PinMap PinMap_PWM[];
mbotkinl 0:2cc6bb4d7fea 42
mbotkinl 0:2cc6bb4d7fea 43 #endif