top of page
-
Problems with assembling my PIXO LEARNING
-
I want to upload my first codeHere is a step by step on how to install the Arduino and upload the first code to your Pixo.
-
Problems with assembling my PIXO GAMEBOYYou can watch this video tutorial that explains the assembly step by step:
-
Code errors: We wrote a sentence wrongA typical mistake is to misspell the name of a statement in the rest of the code. The error manifests itself with the following message. Example: 'class Adafruit_NeoMatrix' has no member named 'setTextcolor'; did you mean 'setTextColor'? It tells us that in the library we are using there is no record of a sentence called in this way, it suggests a change and tells us: did you mean "setTextColor"? We forgot to put a Capital Letter on the C. This example applies to all misspellings. Pay attention to the suggestions.
-
Code errors: Problem uploading to boardA very common mistake when trying to upload the code to the Arduino is not having chosen the serial port. This error is displayed as follows. To solve this error we must verify that the arduino is connected to the computer correctly. Then we must select the port in: Tools/Port/*select_port*. If in this menu it is not clear which port the arduino is connected to, try the last ones on the usbserial list, COM1, COM2, etc. until they get it right.
-
Code errors: 'define' does not name a type;A typical mistake in using #define is not putting the hash # at the beginning. This error manifests itself with the following message. If we read the error message, it tells us in which line number the error is. In this case: Line: 19 First character where error is found: 1 Error: define Add the missing # and compile again.
-
Code errors: expected ';'A typical mistake is forgetting to put a ; after a sentence. This error manifests itself with the following message: The error message is indicating the line where a ; Line: 126 The first character in which error is found: 3 Error: expected ';' before 'delay' It also indicates the line with a red color: The message informs that a delay statement was found without first closing another statement with a ; If you go up in the error screen, this indicates in which line it was manifested compilation problem. Solution: matrix.show();
-
Code errors: a function-definition is not allowed here before '{' tokenA typical mistake is to forget the { at the end of the setup. The error manifests itself with the following message: Errors:19:13: error: a function-definition is not allowed here before '{' token void loop() { Next we will see how the IDE indicates the corresponding error with red on line 19. Note that the error jumps to the line after the missing bracket. Getting the bug flagged somewhere else is weird but makes sense, since the bug is where that bug influences the code. Solution: Place the } closing bracket of the void setup
bottom of page