IBM IoT Client Ethernet example
Dependencies: C12832_fix EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
C027.h
00001 /******************************************************************************* 00002 * Copyright (c) 2014 IBM Corp. 00003 * 00004 * All rights reserved. This program and the accompanying materials 00005 * are made available under the terms of the Eclipse Public License v1.0 00006 * and Eclipse Distribution License v1.0 which accompany this distribution. 00007 * 00008 * The Eclipse Public License is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * and the Eclipse Distribution License is available at 00011 * http://www.eclipse.org/org/documents/edl-v10.php. 00012 * 00013 * Contributors: 00014 * Ian Craggs - initial implementation 00015 *******************************************************************************/ 00016 00017 #if !defined(K64F_H) 00018 #define K64F_H 00019 00020 C12832 lcd(D11, D13, D12, D7, D10); 00021 DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); 00022 MMA7660 MMA(D14, D15); 00023 LM75B sensor(D14,D15); 00024 DigitalIn Up(A2); DigitalIn Down(A3); DigitalIn Left(A4); DigitalIn Right(A5); DigitalIn Click(D4); 00025 AnalogIn ain1 (A0); AnalogIn ain2 (A1); 00026 00027 #define LED2_OFF 0 00028 #define LED2_ON 1 00029 00030 #define DEFAULT_TYPE_NAME "iotsample-mbed-c027" 00031 00032 #endif
Generated on Thu Jul 14 2022 08:22:34 by 1.7.2