/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.c
10,14 → 10,14
 
char VER[4]=VERSION; // Buffer for concatenate of a version string
 
#define ONE_WIRE_PIN PIN_C7
#define ONE_WIRE_PIN PIN_C7 // DS18B20 sensor connection
#include "..\ds1820.c"
 
#define sht_data_pin PIN_D0
#define sht_data_pin PIN_D0 // SHT11 sensor connection
#define sht_clk_pin PIN_D1
#include "..\SHT.c"
 
#define CSN_SPI PIN_C2
#define CSN_SPI PIN_C2 // preassure sensor connection
#include "..\MPL115A1.c"
 
void welcome(void) // Welcome message
32,8 → 32,8
// printf("# h_eat, c_old, o_pen, l_ock, x_open, ");
// printf("i_nfo, r_epeat, a_uto, s_single, u_pdate\r\n");
// printf("#\r\n");
// printf("# ver seq in[1/100 C] sky[1/100 C] sky[1/100 C] ");
// printf("out[1/100 C] heat[s] dome[s] check\r\n\r\n");
printf("# ver seq temp[K] hum_temp[K] hum[%%] ");
printf("bar_temp[K] pressure[hPa] check\r\n\r\n");
 
//---WDT
restart_wdt();