DAGU RS025 Manuale - Pagina 10

Sfoglia online o scarica il pdf Manuale per Robotica DAGU RS025. DAGU RS025 12.

DAGU RS025 Manuale

Changing the text message and size:

The first tab contains the setup and loop functions required for all Arduino code. The main loop is where you will
program the robot with different messages.
When you run the program, the robot will print the message: "I AM A ROBOT". There are two other samples that
allow the robot to print the alphabet or the numbers 0-9. Note that if you do not finish your message with
"END();" then the robot will repeat the message continuously.
The main loop also checks the battery voltage. If the battery is too flat then the robot will stop and the D13 LED
will flash quickly to indicate the battery is flat.
To change the size of the text you must change the value of "charsize" in the "Constants.h" tab. This is a whole
number from 1 to 255 with 1 being the smallest.

Changing "low battery" sensitivity:

You can change the point at which the robot decides the battery is too flat in the "constants.h" tab by changing
the value of "lowbat". A value of 512 is approximately 5V. Do not set this too low otherwise the bootloader could
be corrupted.