BMP085 วัดอุณหภูมิ,ความกดอากาศ,แปลงเป็นความสูง

Started by tha, March 25, 2014, 03:01:17 PM

Previous topic - Next topic

tha

อยู่ว่างๆก็ย้าย platfrom มาสู่ CoIDE (coocox+gcc arm toolchain) ใช้ stm32f103rbt6 I2C module มาต่อกับ BMP085 ก้ไม่ได้แก้ใขโค้ดอะไรมากก็ใช้ได้แล้ว
http://www.mediafire.com/download/gp4n7j8mwc8k5x1/BMP085.rar

tha

เอา #include <stdio.h> ออกก็ได้ครับ (comment out) เพราะเราใช้ไฟล์ printf.c (retarget printf) แทนแล้วซึ่งจะใช้ memory ที่น้อยลงก่วาใช้ stdio.h พอดีลืมเอาออกเดี๋ยวจะงง  ;)