hi, can you give me some arduino code(software code)example of the solution of the my problem?thank you