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 #ifndef DEBUG_H
michaeljkoster 0:07581223f90c 2 #define DEBUG_H
michaeljkoster 0:07581223f90c 3
michaeljkoster 0:07581223f90c 4 #include "nsdl_support.h"
michaeljkoster 0:07581223f90c 5 #include "mbed.h"
michaeljkoster 0:07581223f90c 6
michaeljkoster 0:07581223f90c 7 //Debug is disabled by default
michaeljkoster 0:07581223f90c 8 #define DEBUG 1
michaeljkoster 0:07581223f90c 9
michaeljkoster 0:07581223f90c 10 #if (DEBUG)
michaeljkoster 0:07581223f90c 11 extern Serial pc;
michaeljkoster 0:07581223f90c 12 #define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
michaeljkoster 0:07581223f90c 13 #else
michaeljkoster 0:07581223f90c 14 #define NSDL_DEBUG(x, ...)
michaeljkoster 0:07581223f90c 15 #endif
michaeljkoster 0:07581223f90c 16
michaeljkoster 0:07581223f90c 17 #endif