diff --git a/CubeGotchi.ino b/CubeGotchi.ino index b683bb4..5c6886b 100644 --- a/CubeGotchi.ino +++ b/CubeGotchi.ino @@ -26,8 +26,12 @@ /***************************/ /***** Time and clock *****/ -#define EMULATOR_CLOCK_SPEED 1002702 // this values seems to be diferent for every single board but generaly is around 1002700 -// If game time is going faster than it should, increase this value by 1 to slow it down. +// ESP8266 is not a very good time keeping device, each one of these little shits has a different clock oscilator. +// it also seems that the temperature also effects the clock frequency so time keeps on drifting and it get's noticable after some time. +// You can play around with these 2 to try and reduce the drift: + +#define EMULATOR_CLOCK_SPEED 1002701 // this values seems to be around 1002700(+-10) +// If game time is going faster than it should, increase this value by 1 to slow it down. // fixed microsecond sleep between each cycle used to fine tune the emulator time drift even more #define FINE_TUNING_DELAY 24