Created attachment 637146 [details] Adding sample program. See comments in the source file on how to compile.