PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Diff: POKITTO_HW/PokittoHW.cpp
- Revision:
- 61:123aefc978a7
- Parent:
- 43:6183b12dd99c
--- a/POKITTO_HW/PokittoHW.cpp Sun Oct 07 10:19:52 2018 +0000 +++ b/POKITTO_HW/PokittoHW.cpp Tue Oct 09 12:07:25 2018 +0000 @@ -50,6 +50,7 @@ time_t seconds = time(NULL); Pokitto::Battery::update(); srand((unsigned int) (Pokitto::Battery::level + (seconds))); + for (int i=0; i < rand()*100; i++) random(100); } void Core::initGPIO() {