AMMP demonstration using Freescale FRDM-KL25Z and Adafruit CC3000 Arduino shield
Dependencies: MMA8451Q NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of AxedaGo-Freescale by
main.h
00001 /* mbed Microcontroller Library 00002 * Copyright (c) 2006-2013 ARM Limited 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #ifndef MAIN_H 00017 #define MAIN_H 00018 00019 #define WIGO 1 00020 #define WIFI_DIPCORTEX 2 00021 //#define UNDEFINED 3 00022 #define WIFI_SHEILD_ADAFRUIT 3 00023 00024 00025 00026 #define MY_BOARD WIFI_SHEILD_ADAFRUIT 00027 00028 // use this defines in AP_SECURITY 00029 #define NONE 0 00030 #define WEP 1 00031 #define WPA 2 00032 #define WPA2 3 00033 00034 00035 00036 // Default SSID Settings 00037 #define AP_KEY "masterchief" 00038 #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! 00039 #define SSID "Synapse" 00040 00041 00042 #define MMA8451_I2C_ADDRESS (0x1d<<1) // accelerometer I2C address 00043 00044 00045 #endif
Generated on Tue Jul 12 2022 21:32:58 by 1.7.2