Help! I don’t know how to program C! What can I do?

Don’t panic. By studying the Default_Routine() function in user_routines.c, you should be able to get a picture of how the default code works. Then you can easily edit this function to re-map the inputs to outputs in whatever combination your robot requires.

There are many books that can help. There are also numerous free C programming tutorials on the web.