ใส่เลขทิศนิยมผ่านSerial Monitorยังไงครับ
คือผมจะใส่ละติจูดลองติจูดเช่น 19.123456 99.123456 จากคอมโดยผ่าน Serial Monitor เเล้วให้มันส่งผ่านบลูทูธตัวส่งไปยัง
บลูทูธตัวรับจากนั้นเอาละติจูลลองติจูลไปคำนวนอีกทีทำยังไงครับ
ส่งค่าเป็นแบบ String ครับ
https://wingoodharry.wordpress.com/2014/04/07/anrdroid-sendreceive-data-with-arduino-via-bluetooth-part-1/
ลองดูตัวอย่างตามนี้ครับ https://arduino-info.wikispaces.com/BlueTooth-HC05-HC06-Modules-How-To
ตัวที่สั่ง = master = หัวหน้า
ตัวที่รับคำสั่ง = slave = ลูกน้อง
การอ่านค่าจาก keypad เขียน if เช็ค เก็บไว้ในตัวแปร string ก่อน ค่อยสั่งให้คำนวนเมื่อผู้ใช้กด enter ครับ
ตัวอย่างตามนี้ http://ediy.com.my/tutorials/item/69-password-access-with-arduino-using-keypad
ลองศึกษาตัวอย่างตามนี้ครับ http://ediy.com.my/tutorials/item/69-password-access-with-arduino-using-keypad