top of page

4.13.23

  • owenmichael12333
  • Apr 13, 2023
  • 1 min read

This week I was able to convert all 28 frames of the raining animation to see how it would look if I were to do the entire gif and not just a couple frames. I am now planning on learning how to make an array that consists of the byteArrays that display the image so that I don't have to hardcode 28 frames for every animation.

matrix.drawBitmap(0, 0,  RAIN0, x, y, BLACK, WHITE);
  Serial.println(0);
  matrix.show();
  delay(DELAY);
  matrix.clear();
  
  matrix.drawBitmap(0, 0,  RAIN1, x, y, BLACK, WHITE);
  Serial.println(1);
  matrix.show();
  delay(DELAY);
  matrix.clear();

  matrix.drawBitmap(0, 0,  RAIN2, x, y, BLACK, WHITE);
  Serial.println(2);
  matrix.show();
  delay(DELAY);
  matrix.clear();

  matrix.drawBitmap(0, 0,  RAIN3, x, y, BLACK, WHITE);
  Serial.println(3);
  matrix.show();
  delay(DELAY);
  matrix.clear();

  matrix.drawBitmap(0, 0,  RAIN4, x, y, BLACK, WHITE);
  Serial.println(4);
  matrix.show();
  delay(DELAY);
  matrix.clear();
  ...

(I tried uploading a GIF and it wouldn't work. Will fix tomorrow.)




 
 
 

Recent Posts

See All
5.11.23

This week I did not get much done due to very few class periods this week. I spent the beginning of the week working on cleaning up the...

 
 
 

Comments


bottom of page