Heart in 8×8 led display

Code // 2-dimensional array of row pin numbers:int R[] = {2,7,A5,5,13,A4,12,A2}; // 2-dimensional array of column pin numbers:int C[] = {6,11,10,3,A3,4,8,9};    unsigned char biglove[8][8] =     //the big “heart”  {   0,0,0,0,0,0,0,0,   0,1,1,0,0,1,1,0,   1,1,1,1,1,1,1,1,   1,1,1,1,1,1,1,1,   1,1,1,1,1,1,1,1,   0,1,1,1,1,1,1,0,   0,0,1,1,1,1,0,0,   0,0,0,1,1,0,0,0, };  unsigned char smalllove[8][8] =      //the small “heart”{   0,0,0,0,0,0,0,0,   0,0,0,0,0,0,0,0,   0,0,1,0,0,1,0,0,   0,1,1,1,1,1,1,0,   0,1,1,1,1,1,1,0,   0,0,1,1,1,1,0,0,   0,0,0,1,1,0,0,0,   0,0,0,0,0,0,0,0, };  void setup() {    // iterate over the pins:  for(intContinue reading “Heart in 8×8 led display”

Design a site like this with WordPress.com
Get started