Added the printing of the AP password in the serial monitor for debug purposes, may be removed later on
This commit is contained in:
parent
a33add50f1
commit
bd99e8ff27
@ -17,6 +17,13 @@ void setup()
|
|||||||
{
|
{
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
Serial.println("Starting setup");
|
Serial.println("Starting setup");
|
||||||
|
CFGFileParser cfgFileParser(sab.getSdCardManager(), AP_CFG_FILE);
|
||||||
|
CFGDictionary<CFGParameterValue> *cfgDictionary = (CFGDictionary<CFGParameterValue> *) cfgFileParser.parseFile();
|
||||||
|
|
||||||
|
Serial.print("AP PASSWORD : ");if((*cfgDictionary)("PASSWORD") != NULL)Serial.println((*cfgDictionary)("PASSWORD")->stringValue());
|
||||||
|
delete cfgDictionary;
|
||||||
|
|
||||||
|
|
||||||
pinMode(GPIO_0, INPUT);
|
pinMode(GPIO_0, INPUT);
|
||||||
sab.getScreenManager().addView(&(view_1), &v1p, 0);
|
sab.getScreenManager().addView(&(view_1), &v1p, 0);
|
||||||
sab.getScreenManager().addView(&(view_2), &vap, 1);
|
sab.getScreenManager().addView(&(view_2), &vap, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user