bbx10node wrote:http://x10linux.blogspot.com/2015/09/di ... using.html
I just modified your code and took out any reference to the LCD that you have and the libraries etc. (spi, gfx, pcd8544) as I do not have one of those devices. I was using just the serial port for debugging.
I also took out all display.xxx calls.
The code compiles and connects, but then the WatchDogTimer gets tripped and the chip resets.
I am using a Generic ESP-12-E and not the huzzah module.
this is an example of the output:
..
WiFi connected
IP address:
192.168.1.2
Connecting to api.wunderground.com
GET /api/**********/conditions/q/Australia/Sydney.json HTTP/1.1
User-Agent: ESP8266/0.1
Accept: */*
Host: api.wunderground.com
Connection: close
HTTP/1.1 200 OK
Server: Apache/2.2.15 (CentOS)
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
X-CreationTime: 0.049
Last-Modified: Thu, 29 Oct 2015 12:05:40 GMT
Content-Type: application/json; charset=UTF-8
Expires: Thu, 29 Oct 2015 12:05:41 GMT
Cache-Control: max-age=0, no-cache
Pragma: no-cache
Date: Thu, 29 Oct 2015 12:05:41 GMT
Content-Length: 2585
Connection: close
Set-Cookie: DT=1446120340:24508:365-v1; path=/; expires=Fri, 01-Jan-2020 00:00:00 GMT; domain=.wunderground.com
bytesIn 2585
respLen 2586
Exception (29):
epc1=0x40206970 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffea9e0 end: 3fffffb0 offset: 01a0