update arduino_code

put method C language