RP6 ROBOT SYSTEM - 5. Example Programs
5. Example Programs
On the CD / website, you will find some very detailed example programs. They illus-
trate the basic functions of the RP6 CONTROL M256 WIFI. Just as for the robot, they
may not always be the optimal solution. They are just a starting point for your own
programs. This has been done on purpose such that there is some work left for you. It
would be boring to just test ready-made programs...
The example programs are far from using all possibilities of the module! That means
that there is much room left for your own extensions and much more complex pro-
grams. The biggest program is the selftest that uses just about 45kbyte memory (a
large part of it is taken by the SDCard library). If you also consider the bootloader
size, there is a rest of around 200kbyte memory which is enough for highly complex
programs and even for small real-time operating systems and simple web servers.
Moreover you can store very large amounts of data on the SD card.
You can of course exchange your own programs with other users via the internet. The
RP6M256Lib and all example programs are licensed under the open source license
“GPL” (General Public License) and therefore it is allowed to modify and publish the
programs under the conditions of the GPL.
In general there is a multitude of example programs for the ATMEGA microcontroller
family in the internet as these controllers are very popular with hobbyist users. How-
ever you must always match other example programs to the hardware of the RP6
CONTROL M256 and the RP6M256Lib – otherwise you might often encounter problems
(the most obvious problems are different pin assignments, use of hardware modules
that are already used elsewhere such as timers, different clock frequency, etc....) !
The following chapter briefly explains the functions of the example programs.
- 42 -