Here's an example sketch that demonstrates how to use the WriteAt command: