printid and get_temp implementation
[cortex-from-scratch] / include / drivers / tsensor.h
index ced6f5d..9695eb7 100644 (file)
@@ -1,4 +1,8 @@
-extern void tsensor_output(uint16_t, uint16_t/* , uint16_t */);
-extern void tsensor_input(uint16_t);
-extern void run();
+#ifndef __TSENSOR_H
+#define __TSENSOR_H
+
+extern void tsensor_printid();
+extern uint16_t tsensor_get_temp();
+
+#endif