Jan Jongboom / Mbed 2 deprecated ESP8266_HTTP_HelloWorld

Dependencies:   ESP8266Interface HTTPClient-SSL WebSocketClient mbed-rtos mbed

Fork of ESP8266_HTTP_HelloWorld by ESP8266

Committer:
michaeljkoster
Date:
Mon Apr 20 20:29:26 2015 +0000
Revision:
2:44dca280b049
Parent:
0:6a891da014a3
Test program for ESP8266

Who changed what in which revision?

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