Skip to content

Instantly share code, notes, and snippets.

@deviceplususer
Created August 27, 2019 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deviceplususer/84b6c0c2069523654608f85795141404 to your computer and use it in GitHub Desktop.
Save deviceplususer/84b6c0c2069523654608f85795141404 to your computer and use it in GitHub Desktop.
int ledMatrix[WIDTH][HEIGHT];//LEDの配置と番号を記録する2次元配列
ledMatrix[0][0] = 0;// 0番は、x=0, y=0
ledMatrix[1][0] = 9;// 9番は、x=1, y=0
ledMatrix[2][0] = 10;// 10番は、 x=2, y=0
ledMatrix[3][0] = 19;// 19番は、 x=3, y=0
ledMatrix[4][0] = 20;// 10番は、 x=4, y=0
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment