Add some sanity check / update readme with board

show how board is connected it Davinci
This commit is contained in:
luc 2015-10-29 13:24:59 +08:00
parent c3dc621e8d
commit 62eb43de8e
7 changed files with 19 additions and 5 deletions

BIN
Davinci/backside.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 KiB

BIN
Davinci/board.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
Davinci/boardconnected.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
Davinci/screen.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -149,7 +149,13 @@ Currently, I tested on ESP01 using 64K SPIFFS ( please use data directory conten
-- UI Improvement
--<s>Printer EEPROM management</s> (Canceled/Postponed for next stage)
more to come
##Result of ESP12E on Davinci
I use a proto board to connect ESP12E socket, one micro switch for recovery, one jumper for normal usage/ flash, I did not put hardware switch.
<img src=https://raw.githubusercontent.com/luc-github/ESP8266/master/Davinci/board.jpg><br>
Connected to Davinci:
<img src=https://raw.githubusercontent.com/luc-github/ESP8266/master/Davinci/boardconnected.jpg><br>
The back cover:
<img src=https://raw.githubusercontent.com/luc-github/ESP8266/master/Davinci/backside.jpg><br>
The screen when connected to AP:
<img src=https://raw.githubusercontent.com/luc-github/ESP8266/master/Davinci/screen.jpg.jpg><br>

View File

@ -33,6 +33,15 @@ extern "C" {
extern DNSServer dnsServer;
#endif
WIFI_CONFIG::WIFI_CONFIG()
{
iweb_port=DEFAULT_WEB_PORT;
idata_port=DEFAULT_DATA_PORT;
baud_rate=DEFAULT_BAUD_RATE;
sleep_mode=DEFAULT_SLEEP_MODE;
_hostname[0]=0;
}
const char * WIFI_CONFIG::get_hostname(){
if (WiFi.hostname().length()==0)
{
@ -152,7 +161,6 @@ bool WIFI_CONFIG::Setup()
if (!CONFIG::read_string(EP_HOSTNAME, hostname , MAX_HOSTNAME_LENGTH))strcpy(hostname,get_default_hostname());
//disconnect if connected
WiFi.disconnect();
current_mode=bflag;
//this is AP mode
if (bflag==AP_MODE)
{

View File

@ -36,7 +36,7 @@ class WIFI_CONFIG
#ifdef MDNS_FEATURE
MDNSResponder mdns;
#endif
byte current_mode;
WIFI_CONFIG();
int iweb_port;
int idata_port;
long baud_rate;