[cnc25d_api] add rotation in the macro example
[cnc25d_api] oops, add the modification to the example generator