Rainbowduino Help Needed

I've been trying for days now and really need help understanding how to write code for the rainbowduino how do I use the setdots function and the filling the masters buff has anyone got some simple examples that will point me in the right direction any help would be great.