vigneshkum / rfid-attendance-system

Automatically exported from code.google.com/p/rfid-attendance-system
0 stars 1 forks source link

Display Initialization Messages on Console When debugMode = true; #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description of Feature Required:
1. Print all the initialization messages to the console screen when debugMode = 
true;

Test-Cases:
1. debugMode = true;
2. debugMode = false;
3. debugMode = true; & Initialization Fails
4. debugMode = false; & Initialization Fails

Expected OUTPUT:
Case 1. debugMode = true;

<==========Device Booted!==========>
setup() :: Now Initializing Dependent Modules and Hardware.
initMemory() :: Initializing SD card... => Memory Card is Ready.
initRFID() :: Connected to RFID Scanner.
initDisplay() :: LCD Display is ready!
setup() :: All Hardware is OK and Ready to Use.
<==========End of SETUP()==========>

Case 2. debugMode = false;

Nothing is printed to the console

Case 3. debugMode = true; & Initialization Fails

<==========Device Booted!==========>
setup() :: Now Initializing Dependent Modules and Hardware.
initMemory() :: Initializing SD card... => SD Card initialization Failed!
initRFID() :: Connected to RFID Scanner.
initDisplay() :: LCD Display is ready!
setup() :: Hardware Falied! Please check logs and RFID Reader is Disabled 
unless all Hardware is OK.
<==========End of SETUP()==========>

and "No Memory Card?" is displayed on the RFID Reader's LCD Screen

Case 4. debugMode = false; & Initialization Fails

Nothing is printed to the console and "No Memory Card?" is displayed on the 
RFID Reader's LCD Screen

Original issue reported on code.google.com by vaibhav.shetyeG on 25 May 2013 at 10:20

GoogleCodeExporter commented 9 years ago
Working on Revision 4: Re-Writing the Entire Code

Original comment by vaibhav.shetyeG on 25 May 2013 at 10:25

GoogleCodeExporter commented 9 years ago
Issue Fixed in Revision 4: 

Original comment by vaibhav.shetyeG on 25 May 2013 at 10:26