User manual
RP6 ROBOT SYSTEM - APPENDIX
● Usual beginner mistakes are:
■ Adding a semicolon at the wrong location – e.g. closing a loop or an
if-statement. Often you are allowed to insert a semicolon-symbol
there, but it will not work as you may have intended!
■ Providing if/else-constructs with accolades at wrong positions – this
may easily happen if your program's indentation structure is bad.
■ Using incorrect data types for variables – e.g. the uint8_t data type
may accept values in the range from 0 up to 255, but cannot be used
to count up to 1500! To count this far you will have to use an
uint16_t! The uint8_t data type will not accept negative values as
well. To work with negative values, you will need a signed data type
like int8_t! Check the overview of all data types at the start of the
small C crash-course!
■ Forgetting the infinite loop at the program's end – if this infinite loop
is missing, your program may produce strange results.
■ You are using the non-blocking mode for “move” or “rotate” functions,
but you do not frequently call “task_motionControl” or the
“task_RP6System” functions! Or your program contains long pauses
generated with mSleep. In using the non-blocking mode for “move” or
“rotate” functions or using the ACS you must use stopwatches for all
delays over approximately 10 Milliseconds! The mSleep-function and
other blocking functions should not be used in combination with non-
blocking functions! Please read the RP6Library's chapter again for de-
tails and study the example programs!
■ When editing Header files or other library sources do MAKE CLEAN be-
fore recompile otherwise the compiler may ignore the changes.
■ Always remember to save altered program's sources before re-
compiling! Otherwise the compiler will compile the previous
unaltered version on your harddisk! In doubt, you may execute
MAKE CLEAN and re-compile again!
16. You are confronted with other problems?
● Try reading the important sections of the manual again! It may often help,
but sometimes it does not...
● Did you already download the latest software versions and the recent manu-
al version from http://www.arexx.com/ or from the RP6 homepage
http://www.arexx.com/rp6 ?
● Did you use the search function of our forum?
--> http://www.arexx.com/forum/
● For C language, AVR or Microcontroller related problems, did you visit the
AVRFreaks website? --> http://www.avrfreaks.net/
● Did you generally visit both forums at all? (Please do not start by immedi-
ately posting a new topic – start by searching for your problem using differ-
ent search queries!). You can also try using a general web search engine.
- 132 -










