ece4180final
/
Merged_Demo
add iphone Support.
Fork of Led_demo by
helper.cpp
- Committer:
- zchen78
- Date:
- 2014-04-25
- Revision:
- 3:bf21ec069402
- Parent:
- 2:0d37843b8283
File content as of revision 3:bf21ec069402:
int getIndex(int r, int c){ if(c < 8){ return (r * 8 + c); }else if(c > 15){ return -1; } else{ return (64 + r * 8 + (c-8)); } }