PBP doesn't check array limits. That is true for all variables types. So you can scan thru all pins of all ports with PORTA.0[i]...
PBP doesn't check array limits. That is true for all variables types. So you can scan thru all pins of all ports with PORTA.0[i]...
That was interesting.
The Tetris was monochrome for an LED board, so the Tetris shapes and the well were all arrays of bits.
To write the same thing in C inflates the program, but uses no more RAM.
Rewriting it in C dealing with bytes instead of bits uses less program memory on the C platform, but much more RAM.
Bookmarks