Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Randomize random function [16% : 3%]
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Bielousov committed Dec 19, 2017
1 parent 1b15dca commit 7a5c6a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Robot/Robot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
// LED Matrix size
const uint8_t BITMAP_SIZE = 8;

void setup() {
// Serial.begin(9600);
void setup() {
// Serial.begin(9600);

// Randomize the random function
randomSeed(analogRead(0));

initDecisions();
initEnvironmet();
initEyes();
Expand Down

0 comments on commit 7a5c6a5

Please sign in to comment.