IFD:Designing Networked Objects/César Felipe Daher: Difference between revisions

From Medien Wiki
No edit summary
Line 122: Line 122:
These functions were adapted and used both for columns and rows and can be expanded into different sized matrixes.
These functions were adapted and used both for columns and rows and can be expanded into different sized matrixes.


==Prototyping==
=='''Prototyping'''==


==='''3x3 LED Matrix'''===
==='''3x3 LED Matrix'''===
Line 242: Line 242:
else if (check.indexOf("right") != std::string::npos) {
else if (check.indexOf("right") != std::string::npos) {
//new
//new
else if (check.toLowerCase().indexOf("right") != std::string::npos) {
check.toLowerCase();
else if (check.indexOf("right") != std::string::npos) {
</pre>
</pre>