ต้องการ code สงข้อมูล ผ่าน ser port
Arduino ทำได้ทั้งแบบ software และ hardware serial มีหลายตัวอย่างตามนี้ครับ
แบบ Software Serial
https://www.arduino.cc/en/Tutorial/SoftwareSerialExample
แบบ Hardware Serial
http://www.instructables.com/id/Arduino-Function-Serialread-And-SerialreadString/