Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor. Show size of timecontrols

  • Loading branch information...
commit d298449b6f8217912c220c8518d1a592e55b4d35 1 parent ea3da91
@matiasgrodriguez authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 gameclock/gameclock.pde
View
16 gameclock/gameclock.pde
@@ -4,7 +4,6 @@
#include "base.h"
-
#include "GameClock.h"
#include "PushButton.h"
#include "GameClockLcd.h"
@@ -49,22 +48,25 @@ GameUiHandler gameUiHandler;
void setup() {
Serial.begin(9600);
- Serial.println( "-= :) =-" );
- Serial.println( sizeof(GameClock) );
- Serial.println( sizeof(ByoYomiTimeControl) );
+ /*
+ Serial.print( "GameClock: " );Serial.println( sizeof(GameClock) );
+ Serial.print( "SuddenDeathTimeControl: " );Serial.println( sizeof( SuddenDeathTimeControl ) );
+ Serial.print( "HourGlassTimeControl: " );Serial.println( sizeof( HourGlassTimeControl ) );
+ Serial.print( "ByoYomiTimeControl: " );Serial.println( sizeof( ByoYomiTimeControl ) );
+ Serial.print( "FischerDelayTimeControl: " );Serial.println( sizeof( FischerDelayTimeControl ) );
+ Serial.print( "BronsteinDelayTimeControl: " );Serial.println( sizeof( BronsteinDelayTimeControl ) );
+ */
lcd2.init();
playerOneButton.init();
playerTwoButton.init();
okButton.init();
backButton.init();
-
- //clock = new ArduinoClock();
selectTimeControlOptionUiHandler.wire( &selectTimeControlUiHandler );
currentUiHandler = &selectTimeControlUiHandler;
- Serial.print( "freeMem=" );Serial.println(freeMemory());
+ Serial.print( "mem:" );Serial.println( freeMemory() );
}
void loop() {
Please sign in to comment.
Something went wrong with that request. Please try again.