Demo starter application to connect WiGo to NSP and expose on-board sensors

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed nsdl_lib TEMT6200 TSI Wi-Go_eCompass_Lib_V3 WiGo_BattCharger

This is the mbed project for the IoT World Hackathon event, June 17th and 18th in Palo Also.

The setup instructions for participants are at the Setup page of this wiki:

http://mbed.org/teams/MBED_DEMOS/code/IoT_World_Hackathon_WiGo_NSP_Demo/wiki/Setup-Guide-for-the-IoT-World-Hackathon

Committer:
michaeljkoster
Date:
Wed Jul 09 04:35:49 2014 +0000
Revision:
18:11b9d98ecae2
Parent:
0:07581223f90c
Checkpoint

Who changed what in which revision?

UserRevisionLine numberNew contents of line
michaeljkoster 0:07581223f90c 1 /* mbed Microcontroller Library
michaeljkoster 0:07581223f90c 2 * Copyright (c) 2006-2013 ARM Limited
michaeljkoster 0:07581223f90c 3 *
michaeljkoster 0:07581223f90c 4 * Licensed under the Apache License, Version 2.0 (the "License");
michaeljkoster 0:07581223f90c 5 * you may not use this file except in compliance with the License.
michaeljkoster 0:07581223f90c 6 * You may obtain a copy of the License at
michaeljkoster 0:07581223f90c 7 *
michaeljkoster 0:07581223f90c 8 * http://www.apache.org/licenses/LICENSE-2.0
michaeljkoster 0:07581223f90c 9 *
michaeljkoster 0:07581223f90c 10 * Unless required by applicable law or agreed to in writing, software
michaeljkoster 0:07581223f90c 11 * distributed under the License is distributed on an "AS IS" BASIS,
michaeljkoster 0:07581223f90c 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michaeljkoster 0:07581223f90c 13 * See the License for the specific language governing permissions and
michaeljkoster 0:07581223f90c 14 * limitations under the License.
michaeljkoster 0:07581223f90c 15 */
michaeljkoster 0:07581223f90c 16 #ifndef MAIN_H
michaeljkoster 0:07581223f90c 17 #define MAIN_H
michaeljkoster 0:07581223f90c 18
michaeljkoster 0:07581223f90c 19 #define WIGO 1
michaeljkoster 0:07581223f90c 20 #define WIFI_DIPCORTEX 2
michaeljkoster 0:07581223f90c 21 #define UNDEFINED 3
michaeljkoster 0:07581223f90c 22
michaeljkoster 0:07581223f90c 23 #define MY_BOARD WIGO
michaeljkoster 0:07581223f90c 24
michaeljkoster 0:07581223f90c 25 // Default SSID Settings
michaeljkoster 0:07581223f90c 26 #define AP_KEY "test"
michaeljkoster 0:07581223f90c 27 #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot!
michaeljkoster 0:07581223f90c 28 #define SSID "test"
michaeljkoster 0:07581223f90c 29
michaeljkoster 0:07581223f90c 30 void init();
michaeljkoster 0:07581223f90c 31
michaeljkoster 0:07581223f90c 32 #endif