/Modules/TDC/GP201A/SW/PICinterface/main.c
37,6 → 37,7
setup_ccp1(CCP_OFF);
setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard
 
 
set_tris_d(0x00);
 
TDC_reset();
55,7 → 56,8
while(TRUE)
{
 
 
//----------------------------------------------- Nastaveni registru
MRange=TDC_MRANGE2; // sets measurement mode