added arduino side code for panel code generation