]> mj.ucw.cz Git - home-hw.git/blobdiff - Inc/app.h
Whoa! Interrupt-driven I2C is working!
[home-hw.git] / Inc / app.h
index 1fb9965a7bc461b2d7e13b6fb01944f9313bb513..acae0ae4800437aa238b8edbd9875574581a94f3 100644 (file)
--- a/Inc/app.h
+++ b/Inc/app.h
@@ -13,3 +13,15 @@ extern byte tx_packet[64];
 extern volatile byte rx_packet_state, tx_packet_state;
 
 void tx_packet_send(void);
+
+// bmp085.c
+
+extern s16 adjusted_temp;
+extern s16 adjusted_press;
+
+extern volatile byte *bmp_i2c_ptr;
+extern volatile byte bmp_i2c_len;
+extern volatile byte bmp_i2c_addr;
+
+void bmp_init(void);
+void bmp_step(void);