Please feel free to search for some sample codes here on the forums. Unfortunately, I do not have a readily available sample code; please bear in mind that any sample code you see in here although does not specifically say it is for the LCD0821, they should still work for your display. The only difference is the size and features of your unit.
Best Regards,
Raquel Malinis
Design and Development
Matrix Orbital