Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 877 → Rev 882

/programy/C/PIC/mereni/TDC/Pulzni_generator/main.c
35,12 → 35,7
output_low(STOP2);
 
// Mode 1
/*
delay_ms(50);
output_low(START);
output_low(STOP1);
output_low(STOP2);
while(!input(FIRE_DETECT));
output_high(START); // start of time measurement
 
output_high(STOP2);
50,8 → 45,8
output_low(STOP2);
output_low(START);
 
*/
// mode 2
/*
 
output_high(STOP2); // Merime jenom jednim kanalem (druhy musi byt v H)
while(!input(FIRE_DETECT));
70,5 → 65,7
output_high(STOP1);
output_low(STOP1);
*/
 
}
}
/programy/C/PIC/mereni/TDC/Pulzni_generator/main.hex
1,21 → 1,17
:1000000028EF00F0EA6A050EE96EEF500EE00F0EE1
:1000000017EF00F0EA6A050EE96EEF500EE00F0EF2
:10001000016E006A002EFED7012EFBD78F0E006EF8
:10002000002EFED70000EF2EF2D762EF00F0010E97
:10003000055E0CE3EA6A050EE96EEF5007E0020E7A
:10004000006E002EFED700D0EF2EF9D76DEF00F036
:10005000F86AD09EEA6AE96AC150C00B0F09C16E06
:10006000070EB46EC150C00B0F09C16EC090C09294
:10007000C094C09EC2809698C69A949E9380939294
:10008000010EC66E000EC76ED190800ED56ECD6A81
:10009000000ECA6E000ECB6EB16A9484BD6AB76A58
:1000A000B66A070EB46E9250926E270E006E002E46
:1000B000FED700D0B450A19CB56A040E956E320EE6
:1000C000056EA0D78C988C9A8C9E8C8E83ACFED7B4
:1000D0008C888C98960E056EAAD78C8A8C9A030E03
:1000E000006E002EFED700D08C8A8C9A270E006EF0
:0E00F000002EFED700D08C8A8C9AE1D7030038
:10002000002EFED70000EF2EF2D751EF00F0F86A55
:10003000D09EEA6AE96AC150C00B0F09C16E070E73
:10004000B46EC150C00B0F09C16EC090C092C09475
:10005000C09EC2809698C69A949E93809392010EF9
:10006000C66E000EC76ED190800ED56ECD6A000EA2
:10007000CA6E000ECB6EB16A9484BD6AB76AB66A66
:10008000070EB46E9250926E270E006E002EFED7B1
:1000900000D0B450A19CB56A040E956E320E056E68
:1000A000B1D78C988C9A8C9E83ACFED78C888C8E22
:0C00B0008C8A8C9A8C9E8C98F1D70300EF
:020000040030CA
:0E00000024CE390E0087A1000FC00FE00F4084
:00000001FF
;PIC18F4550
;CRC=190A CREATED="27-8-11 22:38"
;CRC=8857 CREATED="08-9-11 11:20"