IniSat Modèle 1 Version 2 TP 4 : Etude d'un capteur Exo 1 : Lecture température Exo 2 : GPS, décodage données GGA

Revision:
0:de81bcbbbb72
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Soft_UART/soft_uart.h	Wed Jul 07 08:32:08 2021 +0000
@@ -0,0 +1,35 @@
+/*
+*   Soft UART Library
+*/
+ 
+#define BAUD_RATE       9600
+
+void idle();
+ 
+//Sets the transmit pin to the high state.
+void set_tx_pin_high(void);
+ 
+//Sets the transmit pin to the low state.
+void set_tx_pin_low(void);
+ 
+//Returns 0 or 1 dependent on whether the receive pin is high or low
+int get_rx_pin_status(void);
+
+void timer_isr(void);
+ 
+void Init_Soft_UART(void);
+ 
+char _getchar(void);
+ 
+void _putchar(char ch);
+ 
+void flush_input_buffer(void);
+ 
+char kbhit(void);
+ 
+void turn_rx_on(void);
+ 
+void turn_rx_off(void);
+
+void printStr(char* str);
+ 
\ No newline at end of file