/Designs/Measuring_instruments/GM_counter/SW/HV_source/main.c
61,6 → 61,7
set_pwm2_duty((int16)MAXDUTY);
output_high(LED2);
}
read_adc(ADC_START_ONLY);
}
 
void sound_beep( unsigned int lenght, int16 frequency)
116,8 → 117,6
while(true)
{
read_adc(ADC_START_ONLY);
 
if(input(OUTPUT_ENABLE)) output_permit=TRUE;
else output_permit=FALSE;
/Designs/Measuring_instruments/GM_counter/SW/HV_source/main.hex
1,4 → 1,4
:1000000003308A00242B0000FF00030E8301A100AF
:1000000003308A00252B0000FF00030E8301A100AE
:100010000A08A0008A010408A2007708A300780853
:10002000A4007908A5007A08A600831383128C30F7
:100030008400001F1D280C1B2E2822088400230882
12,149 → 12,149
:1000B0008712652864309B001D08CF399D00AC1263
:1000C0002C088316870083128716712864309B00E2
:1000D0001D08CF399D00AC122C08831687008312AF
:1000E00087160C138A110A121D28482BD029B01824
:1000F0004100A026CC204217633D00010C00D33202
:10010000741D2536751020100000C424D32042260B
:1001100045220000383084008313000803199D280D
:100120000230F800F701F70B9328F80B922897306C
:10013000F700F70B9928800B902808003F18A22899
:100140000812A3280816831608128312BF18AA28BB
:100150008812AB2888168316881283123F19B2289A
:100160000813B3280817831608138312BF19BA2877
:100170008813BB288817831688130000831209147C
:1001800083160910C328C428831209108316091086
:1001900083120800C0018316081600308312081A63
:1001A0000130C0048316881600308312881A01308B
:1001B000F7000310F70D7708C00483160817003006
:1001C0008312081B0130F700F70DF70DFC30F7051F
:1001D0007708C0048316881700308312881B01300B
:1001E000F700F70DF70DF70DF830F7057708C004A5
:1001F0004008F800080083160910891009118312BD
:100200008910831689100816881608178817831214
:1002100009158316091100008312091483160910A9
:1002200000008312CA207808BF0009108316091045
:10023000000083120914831609101E298312CA2094
:100240007808BE00091083160910081288120813D6
:10025000881383123F0EF700F030F70577083E044D
:10026000F8007808BE00BE1F372983160329BC0892
:10027000031D3C2989103D2989148316891000002B
:1002800083120911831609110000831209108316C5
:10029000091083123D0EBE000F30BE053E08BF00A0
:1002A0009E203D080F39BE00BF009E200800831627
:1002B0000812881208138813091089100911831273
:1002C000891083168910831209118316091183126C
:1002D0000910831609100F308312B8008A200130EC
:1002E000AE002E08033C031C7D290330BF009E2076
:1002F0000530B8008A20AE0A71290230BF009E2066
:10030000AE012E08033C031C8E292E083120AF00BD
:10031000BC012F08BD00FB20AE0A81298A110A12F8
:10032000CD2B390B942997294030BA009829BA016E
:1003300001303802BA073A088038BB00BC013B08DC
:10034000BD00FB2008003708073A0319B1290B3A12
:100350000319B629063A0319BE29023A0319C4291A
:10036000C9290130B800B9009121CF29BC01013061
:10037000BD00FB200230B8008A20CF290130B80030
:100380000230B9009121CF29BC011030BD00FB2003
:10039000CF290130BC003708BD00FB20CF29080061
:1003A000831603178C170C140000000083120C082E
:1003B0007F390319142A0313AE0003170D08031322
:1003C000AF0003170F080313B0002E08B700A321D6
:1003D0002F0803178D000313300803178F008316AF
:1003E0008C170C140000000083120C0D0E0D7F39C9
:1003F0000319142A0313AE0003170D080313AF00EB
:1004000003170F080313B0002E08B700A3212F080D
:1004100003178D000313300803178F008D0A03198B
:100420008F0A0313D029031703130800B601040829
:10043000B5003610831B36142F0EF038B100B1070B
:10044000E23EB200323EB4002F080F39B207B207C5
:10045000B407E93EB300B307B3072E0E0F39B30755
:10046000B407B30DB40DB409B40D2E080F39B40799
:10047000B10D0730B0000A30B407B303031C3C2AA7
:10048000B307B203031C402AB207B103031C442A7A
:10049000B107B003031C482A3030840083130730AF
:1004A0003505351384073430040203193517000865
:1004B000F700031D632A351B632A351A752AB519FF
:1004C000632A2030662AB51535123030F707AF01A0
:1004D0000408AE002F10831B2F147708B700A32148
:1004E0002E08840083132F188317840A351F532A7C
:1004F0000800831603178C170C1400000000031863
:10050000A82A83120C087F390313AF0003170D08C4
:100510000313B00003170F080313B1002F08B7002F
:10052000A321300803178D000313310803178F0030
:1005300083168C170C140000000083120313AE0BFB
:10054000A22AA52A83160317A82AC72A83160317E7
:1005500083120C0D0E0D7F390313AF0003170D0826
:100560000313B00003170F080313B1002F08B700DF
:10057000A321300803178D000313310803178F00E0
:100580008D0A03198F0A03100313AE0B792A8A11FF
:100590000A12202C0830B502031CDA2A35308400F8
:1005A00083130310800C00080319DA2AD82A0000EC
:1005B000800BD72A0800B10131082E02031C232B1F
:1005C00083160811043083128806B3010130B2008B
:1005D0003008B5002F08B400F801F901F701FA015D
:1005E0003508031DF62A34080319102B1030B60005
:1005F0000310B20DB30DF70DFA0D35087A02031D85
:10060000032B34087702031C0C2B3408F702031C5D
:10061000FA033508FA020314F80DF90DB60BF82A9F
:100620007908B3007808B2003308B400B40AB40300
:1006300003191E2BFF30B500CA22172B3208B50054
:10064000CA22B10ADC2A0800840183131F30830503
:10065000713083168F000F08061383120617A80146
:100660002B30A7002B10831603170908C039890007
:1006700003131F129F120030031788008312870193
:1006800088018901FF300313AC00831603170908A2
:10069000C039890003131F169F1201300317880009
:1006A000831203131F139F1783169F1783121F14A0
:1006B0009412AC122C088316870083122C162C0877
:1006C000831687008312AC112C0883168700013033
:1006D000831294000030831694000108C73928382B
:1006E0008100831290010030F800043892006330DA
:1006F0008316920083122C112C0883168700831214
:100700000711831609130C308312970083169B017F
:100710009C0101309D008312AC102C0883168700C9
:10072000831287100C309D0001308000323095001C
:100730001708CF39970064309B001D08CF399D0002
:1007400003178701880189017130831603138F0015
:100750000F080C17C03083128B042C132C0883163F
:10076000870083120717AC122C08831687008312A8
:1007700087162C122C0883168700831207168316FF
:1007800088118312881583160811831208116430AA
:100790009B001D08CF399D0057290030F8001F0825
:1007A000C33978049F000130B800B9009121753039
:1007B00003178D0000308F000313D0210130B800E3
:1007C0000230B9009121793003178D0000308F007D
:1007D0000313D0210430AE00FA30B8008A20AE0BEB
:1007E000EC2B7E3003178D0000308F000313D021D7
:1007F0009F14831686168312861E002C2B14012C40
:100800002B100130B800B9009121013084002A0872
:10081000AF002908AE0016220130B8000230B9003E
:100820009121831686168312861E312C7F30031782
:100830008D0000308F00031004300313AE00792ABE
:10084000103084002808AF002708AE0016222030A0
:10085000B700A3212030B700A3212030B700A32187
:10086000382C853003178D0000308F000313D02102
:1000E00087169F140C138A110A121D28482BD02939
:1000F000B0184100A026CC204217633D00010C003F
:10010000D332741D2536751020100000C424D3206E
:10011000422645220000383084008313000803196A
:100120009E280230F800F701F70B9428F80B93286B
:100130009730F700F70B9A28800B912808003F189A
:10014000A3280812A4280816831608128312BF18C1
:10015000AB288812AC2888168316881283123F19A0
:10016000B3280813B4280817831608138312BF197D
:10017000BB288813BC2888178316881300008312B5
:10018000091483160910C428C52883120910831680
:10019000091083120800C00183160816003083126C
:1001A000081A0130C0048316881600308312881A9A
:1001B0000130F7000310F70D7708C0048316081705
:1001C00000308312081B0130F700F70DF70DFC30EB
:1001D000F7057708C0048316881700308312881B40
:1001E0000130F700F70DF70DF70DF830F705770838
:1001F000C0044008F800080083160910891009118E
:100200008312891083168910081688160817881714
:10021000831209158316091100008312091483162D
:10022000091000008312CB207808BF000910831644
:100230000910000083120914831609101F29831264
:10024000CB207808BE000910831609100812881206
:100250000813881383123F0EF700F030F705770874
:100260003E04F8007808BE00BE1F38298316042912
:10027000BC08031D3D2989103E2989148316891065
:10028000000083120911831609110000831209105E
:100290008316091083123D0EBE000F30BE053E08C6
:1002A000BF009F203D080F39BE00BF009F200800FF
:1002B000831608128812081388130910891009116F
:1002C000831289108316891083120911831609116C
:1002D00083120910831609100F308312B8008B2087
:1002E0000130AE002E08033C031C7E290330BF0002
:1002F0009F200530B8008B20AE0A72290230BF0063
:100300009F20AE012E08033C031C8F292E083120AC
:10031000AF00BC012F08BD00FC20AE0A82298A1163
:100320000A12CE2B390B952998294030BA00992909
:10033000BA0101303802BA073A088038BB00BC0164
:100340003B08BD00FC2008003708073A0319B22912
:100350000B3A0319B729063A0319BF29023A0319C0
:10036000C529CA290130B800B9009221D029BC01A1
:100370000130BD00FC200230B8008B20D0290130B4
:10038000B8000230B9009221D029BC011030BD0064
:10039000FC20D0290130BC003708BD00FC20D0294A
:1003A0000800831603178C170C140000000083123A
:1003B0000C087F390319152A0313AE0003170D0823
:1003C0000313AF0003170F080313B0002E08B70084
:1003D000A4212F0803178D000313300803178F0083
:1003E00083168C170C140000000083120C0D0E0DE8
:1003F0007F390319152A0313AE0003170D080313E1
:10040000AF0003170F080313B0002E08B700A42194
:100410002F0803178D000313300803178F008D0A70
:1004200003198F0A0313D129031703130800B60118
:100430000408B5003610831B36142F0EF038B100B7
:10044000B107E23EB200323EB4002F080F39B207C6
:10045000B207B407E93EB300B307B3072E0E0F3956
:10046000B307B407B30DB40DB409B40D2E080F399A
:10047000B407B10D0730B0000A30B407B303031C52
:100480003D2AB307B203031C412AB207B103031C80
:10049000452AB107B003031C492A30308400831376
:1004A0000730350535138407343004020319351736
:1004B0000008F700031D642A351B642A351A762AC2
:1004C000B519642A2030672AB51535123030F70780
:1004D000AF010408AE002F10831B2F147708B7005C
:1004E000A4212E08840083132F188317840A351F34
:1004F000542A0800831603178C170C140000000000
:100500000318A92A83120C087F390313AF000317BD
:100510000D080313B00003170F080313B1002F08D1
:10052000B700A421300803178D0003133108031707
:100530008F0083168C170C14000000008312031325
:10054000AE0BA32AA62A83160317A92AC82A831644
:10055000031783120C0D0E0D7F390313AF00031721
:100560000D080313B00003170F080313B1002F0881
:10057000B700A421300803178D00031331080317B7
:100580008F008D0A03198F0A03100313AE0B7A2A0A
:100590008A110A12202C0830B502031CDB2A3530E0
:1005A000840083130310800C00080319DB2AD92A66
:1005B0000000800BD82A0800B10131082E02031C6C
:1005C000242B83160811043083128806B3010130EE
:1005D000B2003008B5002F08B400F801F901F701A6
:1005E000FA013508031DF72A34080319112B1030BE
:1005F000B6000310B20DB30DF70DFA0D35087A02EF
:10060000031D042B34087702031C0D2B3408F7025A
:10061000031CFA033508FA020314F80DF90DB60BA2
:10062000F92A7908B3007808B2003308B400B40A94
:10063000B40303191F2BFF30B500CB22182B32084F
:10064000B500CB22B10ADD2A0800840183131F30D4
:100650008305713083168F000F0806138312061767
:10066000A8012B30A7002B10831603170908C039E7
:10067000890003131F129F12003003178800831292
:10068000870188018901FF300313AC00831603172B
:100690000908C039890003131F169F120130031780
:1006A0008800831203131F139F1783169F1783124B
:1006B0001F149412AC122C088316870083122C1678
:1006C0002C08831687008312AC112C088316870030
:1006D0000130831294000030831694000108C7395A
:1006E00028388100831290010030F800043892000D
:1006F00063308316920083122C112C088316870016
:1007000083120711831609130C3083129700831686
:100710009B019C0101309D008312AC102C088316B4
:100720008700831287100C309D000130800032302A
:1007300095001708CF39970064309B001D08CF390A
:100740009D00031787018801890171308316031307
:100750008F000F080C17C03083128B042C132C0849
:100760008316870083120717AC122C0883168700A4
:10077000831287162C122C08831687008312071603
:1007800083168811831288158316081183120811A5
:1007900064309B001D08CF399D0058290030F800B7
:1007A0001F08C33978049F000130B800B9009221B6
:1007B000763003178D0000308F000313D1210130F4
:1007C000B8000230B90092217A3003178D00003052
:1007D0008F000313D1210430AE00FA30B8008B2013
:1007E000AE0BED2B7F3003178D0000308F0003130D
:1007F000D121831686168312861E002C2B14012C01
:100800002B100130B800B9009221013084002A0871
:10081000AF002908AE0017220130B8000230B9003D
:100820009221831686168312861E312C8030031780
:100830008D0000308F00031004300313AE007A2ABD
:10084000103084002808AF002708AE00172220309F
:10085000B700A4212030B700A4212030B700A42184
:10086000382C863003178D0000308F000313D12100
:100870002D18C02C83160614831206185D2C143014
:10088000B8008A2083160614831206185D2C2D14D6
:100890006430AE000230B000BC30AF00DB2228086C
:10088000B8008B2083160614831206185D2C2D14D5
:100890006430AE000230B000BC30AF00DC2228086B
:1008A000033C031C5D2C031D592C2708E23C031C50
:1008B0005D2C0530A7070318A80A83168614831237
:1008C00086187F2C1430B8008A2083168614831271
:1008C00086187F2C1430B8008B2083168614831270
:1008D00086187F2C2D146430AE000230B0005830E2
:1008E000AF00DB22A808031D792C2708053C03185C
:1008E000AF00DC22A808031D792C2708053C03185B
:1008F0007F2C0530A7020030031C0130A8028316AC
:10090000081483120818A12C1430B8008A2083160A
:10090000081483120818A12C1430B8008B20831609
:10091000081483120818A12C2D146430AE00013085
:10092000B000F430AF00DB222808033C031CA12CEC
:10092000B000F430AF00DC222808033C031CA12CEB
:10093000031D9E2C2708E73C031CA12CA70A0319C2
:10094000A80A8316881483128818C02C1430B800A3
:100950008A208316881483128818C02C2D146430C2
:10096000AE000130B0009030AF00DB22A708031DBD
:100950008B208316881483128818C02C2D146430C1
:10096000AE000130B0009030AF00DC22A708031DBC
:10097000BC2CA8080319C02C27080319A803A70337
:10098000831606148312061CD42C83168614831235
:10099000861CD42C831608148312081CD42C8316AE
:1009A0008814831288182D102C132C0883168700A6
:0A09B000403083128706F82B630025
:0A09B000403083128706F92B630024
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=2396 CREATED="28-IX-13 13:33"
;CRC=DE4A CREATED="28-IX-13 13:39"