/** BIOS_T.C ******************************************************* *******************************************************************/ #include "adc.h" #include "bios.h" #include "date.h" #include "ser0.h" #include "time.h" #include "timer0.h" #include "watchd.h" void main(void) { #ifdef __C51__ #ifndef LDEBUG if (WATCHD_STATUS_ON) { WATCHD_STATUS_CLR(); /* Fehlerbehandlung für Watchdog */ WATCHD_START(WATCHD_512US); } timer0_init(); adc_init(); date_set_d(0); time_set_s(0); #endif serial0_init(); #endif while (1) { serial_loop(); } }