-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.h
1602 lines (1127 loc) · 36 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ************************************************************************
*
* global configuration, setup and settings
*
* (c) 2012-2024 by Markus Reschke
* based on code from Markus Frejek and Karl-Heinz Kübbeler
*
* ************************************************************************ */
/* source management */
#define CONFIG_H
/*
* For MCU specific settings (port and pin assignments) and display
* settings please edit also:
* - ATmega328: config_328.h
* - ATmega324/644/1284: config_644.h
* - ATmega640/1280/2560: config_1280.h
*/
/* ************************************************************************
* Hardware options
* ************************************************************************ */
/*
* rotary encoder for user interface
* - default pins: PD2 & PD3 (ATmega 328)
* - could be in parallel with LCD module
* - see ENCODER_PORT in config-<MCU>.h for port pins
* - uncomment to enable and also set ENCODER_PULSES & ENCODER_STEPS below
* to match your rotary encoder
*/
//#define HW_ENCODER
/*
* Number of Gray code pulses per step or detent for the rotary encoder
* - typical values: 2 or 4, rarely 1
* - a rotary encoder's pulse is the complete sequence of 4 Gray code pulses
* - adjust value to match your rotary encoder
*/
#define ENCODER_PULSES 4
/*
* Number of detents or steps
* - this is used by the detection of the rotary encoder's turning velocity
* - it doesn't have to match exactly and also allows you to finetune the
* the feedback (higher: slow down, lower: speed up)
* - typical values: 20, 24 or 30
* - adjust value to match your rotary encoder
*/
#define ENCODER_STEPS 24
/*
* increase/decrease push buttons for user interface
* - alternative for rotary encoder
* - see KEY_PORT in config-<MCU>.h for port pins
* - uncomment to enable
*/
//#define HW_INCDEC_KEYS
/*
* 2.5V voltage reference for Vcc check
* - default pin: PC4 (ATmega 328)
* - should be at least 10 times more precise than the voltage regulator
* - see TP_REF in config-<MCU>.h for port pin
* - uncomment to enable and also adjust UREF_25 below for your voltage
* reference
*/
//#define HW_REF25
/*
* Typical voltage of 2.5V voltage reference (in mV)
* - see datasheet of the voltage reference
* - or use >= 5.5 digit DMM to measure the voltage
*/
#define UREF_25 2495
/*
* Probe protection relay for discharging caps
* - default pin: PC4 (ATmega 328)
* - low signal: short circuit probe pins
* high signal via external reference: remove short circuit
* - see TP_REF in config_<MCU>.h for port pin
* - uncomment to enable
*/
//#define HW_DISCHARGE_RELAY
/*
* Zener check / voltage measurement up to 50V DC
* - default pin: PC3 (ATmega 328)
* - uses voltage divider (standard: 10:1)
* - DC-DC boost converter controlled by test push button
* (for alternative control modes see below)
* - see TP_ZENER in config_<MCU>.h for port pin
* - uncomment to enable
*/
//#define HW_ZENER
/*
* non-standard voltage divider for Zener check
* - standard voltage divider is 10:1
* - ZENER_R1: top resistor in Ohms
* - ZENER_R2: bottom resistor in Ohms
* - uncomment to enable and adjust resistor values
*/
//#define ZENER_DIVIDER_CUSTOM
#define ZENER_R1 180000
#define ZENER_R2 20000
/*
* alternative mode for Zener check: don't switch boost converter
* - when the DC-DC boost converter runs all the time or when just
* measuring an external voltage (circuit without boost converter)
* - uncomment to enable
*/
//#define ZENER_UNSWITCHED
/*
* alternative mode for Zener check: switch converter via dedicated MCU pin
* - boost converter is controlled by a dedicated I/O pin
* - see BOOST_PORT in config_<MCU>.h for port pin
* - two drive methods:
* ZENER_BOOST_HIGH high active / enabled when high
* ZENER_BOOST_LOW low active / enabled when low
* - uncomment to enable and choose one drive method
*/
//#define ZENER_SWITCHED
//#define ZENER_BOOST_HIGH /* high active */
#define ZENER_BOOST_LOW /* low active */
/*
* Zener check during normal probing
* - requires boost converter running all the time (ZENER_UNSWITCHED)
* - uncomment to enable
* - The min/max voltages are meant for the detection of a valid Zener voltage.
* The min. voltage should be higher than the noise floor, while the max.
* voltage should be lower than the boost converter's output voltage.
*/
//#define HW_PROBE_ZENER
#define ZENER_VOLTAGE_MIN 1000 /* min. voltage in mV */
#define ZENER_VOLTAGE_MAX 30000 /* max. voltage in mV */
/*
* fixed signal output
* - in case the MCU's OC1B pin is wired as dedicated signal output
* instead of driving the Rl probe resistor for test pin #2
* - uncomment to enable
*/
//#define HW_FIXED_SIGNAL_OUTPUT
/*
* basic frequency counter
* - default pin: T0 (PD4 ATmega 328)
* - uses T0 directly as frequency input
* - counts up to 1/4 of MCU clock rate
* - might be in parallel with LCD module
* - uncomment to enable
*/
//#define HW_FREQ_COUNTER_BASIC
/*
* extended frequency counter
* - low and high frequency crystal oscillators
* and buffered frequency input
* - prescalers 1:1 and 16:1 (32:1)
* - uses T0 directly as frequency input
* - see COUNTER_CTRL_PORT in config-<MCU>.h for port pins
* - requires a display with more than 2 text lines
* - uncomment to enable
* - select the circuit's prescaler setting: either 16:1 or 32:1
*/
//#define HW_FREQ_COUNTER_EXT
#define FREQ_COUNTER_PRESCALER 16 /* 16:1 */
//#define FREQ_COUNTER_PRESCALER 32 /* 32:1 */
/*
* ring tester (LOPT/FBT tester)
* - uses T0 directly as counter input
* - uncomment to enable
* - select the pulse output: either dedicated pin or probes
* - see RINGTESTER_PORT in config-<MCU>.h for dedicated pin
*/
//#define HW_RING_TESTER
#define RING_TESTER_PIN /* dedicated pin */
//#define RING_TESTER_PROBES /* probes */
/*
* event counter
* - default pin: T0 (PD4 ATmega 328)
* - uses T0 directly as event/pulse input (rising edge)
* - no shared operation with displays possible for T0
* - requires additional keys (e.g. rotary encoder) and a display with
* more than 5 lines
* - only for MCU clock of 8, 16 or 20MHz
* - uncomment to enable
*/
//#define HW_EVENT_COUNTER
/*
* trigger output for event counter
* - uses probe #2 as trigger output, probes #1 and #3 are Gnd
* - sets trigger output to high while counting
* - uncomment to enable
*/
//#define EVENT_COUNTER_TRIGGER_OUT
/*
* IR remote control detection/decoder (via dedicated MCU pin)
* - requires IR receiver module, e.g. TSOP series
* - module is connected to fixed I/O pin
* - see IR_PORT in config-<MCU>.h for port pin
* - uncomment to enable
* - for additional protocols also enable SW_IR_RX_EXTRA
* - for a confirmation beep enable SW_IR_RX_BEEP
*/
//#define HW_IR_RECEIVER
/*
* fixed cap for self-adjustment
* - see TP_CAP and ADJUST_PORT in config-<MCU>.h for port pins
* - uncomment to enable
*/
//#define HW_ADJUST_CAP
/*
* L/C meter hardware option
* - uses T0 directly as frequency input
* - see LC_CTRL_PORT in config-<MCU>.h for port pins
* - uncomment to enable
*/
//#define HW_LC_METER
/*
* L/C meter: value of reference capacitor C_p (in 0.1 pF)
* - should be around 1000pF
*/
#define LC_METER_C_REF 10000
/*
* L/C meter: also display frequency of LC oscillator
* - helps to spot the oscillator's frequency drifting
* - requires display with more than two text lines
* - uncomment to enable
*/
//#define LC_METER_SHOW_FREQ
/*
* relay for parallel cap (sampling ADC)
* - uncomment to enable (not implemented yet)
*/
//#define HW_CAP_RELAY
/*
* Logic Probe
* - see TP_LOGIC in config_<MCU>.h for dedicated port pin
* - uses voltage divider (standard: 4:1, R1=10k, R2=3.3k, up to 20V)
* - LOGIC_PROBE_R1: top resistor in Ohms
* - LOGIC_PROBE_R2: bottom resistor in Ohms
* - requires additional keys (e.g. rotary encoder) and a display
* with more than 4 lines
* - uncomment to enable and adjust resistor values
*/
//#define HW_LOGIC_PROBE
#define LOGIC_PROBE_R1 10000
#define LOGIC_PROBE_R2 3300
/*
* Buzzer
* - see BUZZER_CTRL in config_<MCU>.h for port pin
* - buzzer types
* BUZZER_ACTIVE: active buzzer with integrated oscillator
* BUZZER_PASSIVE: passive buzzer
* - uncomment to enable and also select the correct buzzer type
*/
//#define HW_BUZZER
#define BUZZER_ACTIVE /* active buzzer */
//#define BUZZER_PASSIVE /* passive buzzer */
/*
* MAX6675 thermocouple converter
* - see MAX6675_CS in config_<MCU>.h for dedicated port pin
* - requires SPI bus and SPI read support
* - uncomment to enable
*/
//#define HW_MAX6675
/*
* MAX31855 thermocouple converter
* - see MAX31855_CS in config_<MCU>.h for dedicated port pin
* - requires SPI bus and SPI read support
* - uncomment to enable
*/
//#define HW_MAX31855
/*
* flashlight / general purpose switched output
* - see FLASHLIGHT_CTRL config_<MCU>.h for port pin
* - uncomment to enable
*/
//#define HW_FLASHLIGHT
/*
* BH1750VFI ambient light sensor
* - requires I2C bus and I2C read support
* - uncomment to enable and also select the correct I2C address
*/
//#define HW_BH1750
#define BH1750_I2C_ADDR 0x23 /* I2C address 0x23 (ADDR low) */
//#define BH1750_I2C_ADDR 0x5c /* I2C address 0x5c (ADDR high) */
/* ************************************************************************
* software options
* ************************************************************************ */
/*
* PWM generator with simple user interface
* - signal output via OC1B
* - uncomment to enable
*/
#define SW_PWM_SIMPLE
/*
* PWM generator with fancy user interface
* - signal output via OC1B
* - requires additional keys and display with more than 2 text lines
* - uncomment to enable
*/
//#define SW_PWM_PLUS
/*
* PWM generator: show also pulse duration
* - duration based on timer's resolution
* - uncomment to enable
*/
//#define PWM_SHOW_DURATION
/*
* Inductance measurement
* - uncomment to enable
*/
#define SW_INDUCTOR
/*
* ESR measurement
* - requires MCU clock >= 8 MHz
* - choose SW_OLD_ESR for old method starting at 180nF
* - uncomment to enable
*/
#define SW_ESR
//#define SW_OLD_ESR
/*
* ESR Tool (in-circuit ESR measurement)
* - requires SW_ESR or SW_OLD_ESR to be enabled
* - uncomment to enable
*/
//#define SW_ESR_TOOL
/*
* check for rotary encoders
* - uncomment to enable
*/
//#define SW_ENCODER
/*
* squarewave signal generator
* - signal output via OC1B
* - requires additional keys
* - uncomment to enable
*/
#define SW_SQUAREWAVE
/*
* IR remote control detection/decoder (via probes)
* - requires IR receiver module, e.g. TSOP series
* - module will be connected to probe leads
* - uncomment to enable
*/
#define SW_IR_RECEIVER
/*
* probe pinout for IR receiver module
* - especially useful for testers with ZIF socket
* - select one
*/
#define SW_IR_RX_PINOUT_G_V_D /* 1-Gnd 2-Vcc 3-Data (default) */
//#define SW_IR_RX_PINOUT_D_G_V /* 1-Data 2-Gnd 3-Vcc */
//#define SW_IR_RX_PINOUT_D_V_G /* 1-Data 2-Vcc 3-Gnd */
/*
* current limiting resistor for IR receiver module
* - for 5V only modules
* - Warning: any short circuit may destroy your MCU
* - uncomment to disable resistor
*/
//#define SW_IR_DISABLE_RESISTOR
/*
* confirmation beep for valid data frame/packet
* - requires buzzer (HW_BUZZER)
* - uncomment to enable
*/
//#define SW_IR_RX_BEEP
/*
* additional protocols for IR remote control detection/decoder
* - uncommon protocols which will increase flash memory usage ;)
* - uncomment to enable
*/
//#define SW_IR_RX_EXTRA
/*
* IR remote control sender
* - signal output via OC1B
* - requires additional keys and display with more than 4 text lines
* - also requires an IR LED with a simple driver
* - uncomment to enable
*/
//#define SW_IR_TRANSMITTER
/*
* Alternative delay loop for IR remote control sender
* - in case the the C compiler screws up the default delay loop
* and causes incorrect pulse/pause timings
* - uncomment to enable
*/
//#define SW_IR_TX_ALTDELAY
/*
* additional protocols for IR remote control sender
* - uncommon protocols which will increase flash memory usage ;)
* - uncomment to enable
*/
//#define SW_IR_TX_EXTRA
/*
* check for opto couplers
* - uncomment to enable
*/
#define SW_OPTO_COUPLER
/*
* check for Unijunction Transistor
* - uncomment to enable
*/
#define SW_UJT
/*
* check for Schottky Transistor (Schottky-clamped BJT)
* - uncomment to enable
*/
#define SW_SCHOTTKY_BJT
/*
* Servo Check
* - signal output via OC1B
* - requires additional keys and display with more than 2 text lines
* - uncomment to enable
*/
//#define SW_SERVO
/*
* DS18B20 - OneWire temperature sensor
* - uncomment to enable
* - also enable ONEWIRE_PROBES or ONEWIRE_IO_PIN (see section 'Busses')
* - please see UI_ROUND_DS18B20
*/
//#define SW_DS18B20
/*
* DS18S20 - OneWire temperature sensor
* - DS18S20_HIGHRES: enable high resolution (0.01°C)
* normal resolution is 0.5°C
* - uncomment to enable
* - also enable ONEWIRE_PROBES or ONEWIRE_IO_PIN (see section 'Busses')
*/
//#define SW_DS18S20
//#define DS18S20_HIGHRES /* high resolution (0.01°C) */
/*
* OneWire: read and display ROM code
* - option for OneWire related tools
* - requires display with more than 2 text lines
* - uncomment to enable
*/
//#define ONEWIRE_READ_ROM
/*
* scan OneWire bus for devices and list their ROM codes
* - requires display with more than 2 text lines
* - uncomment to enable
* - also enable ONEWIRE_PROBES or ONEWIRE_IO_PIN (see section 'Busses')
*/
//#define SW_ONEWIRE_SCAN
/*
* capacitor leakage check
* - requires display with more than two lines
* - uncomment to enable
*/
//#define SW_CAP_LEAKAGE
/*
* display reverse hFE for BJTs
* - hFE for collector and emitter reversed
* - uncomment to enable
*/
//#define SW_REVERSE_HFE
/*
* display I_C/I_E test current for hFE measurement
* - I_C for common emitter circuit
* I_E for common collector circuit
* - uncomment to enable
*/
//#define SW_HFE_CURRENT
/*
* R/C/L monitors
* - monitor passive components connected to probes #1 and #3
* - monitors for L require SW_INDUCTOR to be enabled
* - for ESR either SW_ESR or SW_OLD_ESR needs to be enabled
* - uncomment to enable (one or more)
*/
//#define SW_MONITOR_R /* just R */
//#define SW_MONITOR_C /* just C plus ESR */
//#define SW_MONITOR_L /* just L */
//#define SW_MONITOR_RCL /* R plus L, or C plus ESR */
//#define SW_MONITOR_RL /* R plus L */
/*
* C/L monitors: auto hold
* - requires display with more than two text lines
* - uncomment to enable (one or more)
*/
//#define SW_MONITOR_HOLD_ESR /* auto-hold ESR (C monitor) */
//#define SW_MONITOR_HOLD_L /* auto-hold L (L monitor) */
/*
* DHT11, DHT22 and compatible humidity & temperature sensors
* - uncomment to enable
*/
//#define SW_DHTXX
/*
* check resistor for matching E series norm value
* - requires a display with more than 2 text lines
* - color-code mode requires a color graphics display
* - uncomment to enable (one or more)
*/
//#define SW_R_E24_5_T /* E24 5% tolerance, text */
//#define SW_R_E24_5_CC /* E24 5% tolerance, color-code */
//#define SW_R_E24_1_T /* E24 1% tolerance, text */
//#define SW_R_E24_1_CC /* E24 1% tolerance, color-code */
//#define SW_R_E96_T /* E96 1% tolerance, text */
//#define SW_R_E96_CC /* E96 1% tolerance, color-code */
//#define SW_R_E96_EIA96 /* E96 1% tolerance, EIA-96 code */
/*
* check capacitor for matching E series norm value
* - requires a display with more than 2 text lines
* - uncomment to enable (one or more)
*/
//#define SW_C_E6_T /* E6 20% tolerance, text */
//#define SW_C_E12_T /* E12 10% tolerance, text */
/*
* check inductor for matching E series norm value
* - requires a display with more than 2 text lines
* - uncomment to enable (one or more)
*/
//#define SW_L_E6_T /* E6 20% tolerance, text */
//#define SW_L_E12_T /* E12 10% tolerance, text */
/*
* continuity check
* - requires buzzer (HW_BUZZER)
* - uncomment to enable
*/
//#define SW_CONTINUITY_CHECK
/*
* show additional info for a possible potentiometer/trimpot
* - shows sum of both resistors and ratios in %
* - uncomment to enable
*/
//#define SW_R_TRIMMER
/*
* show self-discharge voltage loss (in %) of a capacitor > 50nF
* - uncomment to enable
*/
//#define SW_C_VLOSS
/*
* photodiode check
* - uncomment to enable
*/
//#define SW_PHOTODIODE
/*
* diode/LED quick-check
* - requires a display with more than 2 text lines
* - uncomment to enable
*/
//#define SW_DIODE_LED
/* ************************************************************************
* workarounds for some testers
* ************************************************************************ */
/*
* Disable hFE measurement with common collector circuit and Rl as
* base resistor.
* - problem:
* hFE values are way too high.
* - affected testers:
* Hiland M644 (under investigation, possibly poor PCB design)
* - uncomment to enable
*/
//#define NO_HFE_C_RL
/*
* Alternative power control for clones with SCT15L104W management MCU.
* - problem:
* tester turns off suddenly after first probing cycle
* - affected testers:
* T7-H, presumably also other models of the TC-1 family
* - uncomment to enable
*/
//#define PASSIVE_POWER_CTRL
/* ************************************************************************
* workarounds for some IDEs
* ************************************************************************ */
/*
* Oscillator startup cycles (after wakeup from power-safe mode):
* - typical values
* - internal RC: 6
* - full swing crystal: 16384 (also 256 or 1024 based on fuse settings)
* - low power crystal: 16384 (also 256 or 1024 based on fuse settings)
* - Please change value if it doesn't match your tester!
*/
#ifndef OSC_STARTUP
#define OSC_STARTUP 16384
#endif
/* ************************************************************************
* user interface
* ************************************************************************ */
/*
* Language of user interface. Available languages:
* - English (default)
* - Brazilian Portuguese
* - Czech (based on ISO 8859-1)
* - Czech 2 (with Czech characters based on ISO 8859-2)
* - Danish
* - French (based on ISO 8859-1)
* - German
* - Polish (based on ISO 8859-1)
* - Polish 2 (with Polish characters based on ISO 8859-2)
* - Spanish
* - Romanian
* - Russian (with cyrillic characters based on Windows-1251)
* - Russian 2 (with cyrillic characters based on Windows-1251)
*/
#define UI_ENGLISH
//#define UI_BRAZILIAN
//#define UI_CZECH
//#define UI_CZECH_2
//#define UI_DANISH
//#define UI_FRENCH
//#define UI_GERMAN
//#define UI_ITALIAN
//#define UI_POLISH
//#define UI_POLISH_2
//#define UI_ROMANIAN
//#define UI_RUSSIAN
//#define UI_RUSSIAN_2
//#define UI_SPANISH
/*
* Use comma instead of dot to indicate a decimal fraction.
* - uncomment to enable
*/
//#define UI_COMMA
/*
* Display temperatures in Fahrenheit instead of Celsius.
* - uncomment to enable
*/
//#define UI_FAHRENHEIT
/*
* Display hexadecimal values in uppercase instead of lowercase
* - uncomment to enable
*/
//#define UI_HEX_UPPERCASE
/*
* Set the default operation mode to auto-hold.
* - instead of continuous mode
* - uncomment to enable
*/
//#define UI_AUTOHOLD
/*
* Switch temporarily to auto-hold mode when a component is detected.
* - only in continuous mode
* - uncomment to enable
*/
//#define UI_AUTOHOLD_FOUND
/*
* Trigger the menu also by a short circuit of all three probes.
* - former default behaviour
* - uncomment to enable
*/
//#define UI_SHORT_CIRCUIT_MENU
/*
* Show key hints instead of cursor if available.
* - currently only "Menu/Test"
* - requires additional keys and display with a sufficient number of
* text lines (recommended: >= 8 lines)
* - uncomment to enable
*/
//#define UI_KEY_HINTS
/*
* Enter menu to select adjustment profile after powering on.
* - uncomment to enable
*/
//#define UI_CHOOSE_PROFILE
/*
* Add a third profile for adjustment values.
* - uncomment to enable
*/
//#define UI_THREE_PROFILES
/*
* Output components found also via TTL serial interface.
* - uncomment to enable
* - also enable SERIAL_BITBANG or SERIAL_HARDWARE (see section 'Busses')
*/
//#define UI_SERIAL_COPY
/*
* Control tester via TTL serial interface.
* - uncomment to enable
* - also enable SERIAL_BITBANG or SERIAL_HARDWARE, plus SERIAL_RW
* (see section 'Busses')
*/
//#define UI_SERIAL_COMMANDS
/*
* Maximum time to wait after probing (in ms).
* - applies to continuous mode only
* - Time between displaying the result and starting a new probing cycle.
*/
#define CYCLE_DELAY 3000
/*
* Maximum number of probing runs without any component found in a row.
* - applies to continuous mode only
* - If this number is reached the tester will power off.
* - When set to zero the tester will run only once and turn off
* after CYCLE_DELAY.
* - When set to 255 this feature will be disabled and the tester runs
* until it's powered off manually.
*/
#define CYCLE_MAX 5
/*
* Automatic power-off when no button is pressed for a while (in s).
* - applies to auto-hold mode only
* - uncomment to enable, also adjust timeout (in s)
*/
//#define POWER_OFF_TIMEOUT 60
/*
* fancy pinout with component symbols for 3-pin semiconductors
* - probe numbers left and right of symbol
* - requires graphics display and symbol bitmaps (config_<MCU>.h)
* - uncomment to enable
*/
#define SW_SYMBOLS
/*
* fancy pinout: show right-hand probe numbers above/below symbol
* - requires component symbols (SW_SYMBOLS) to be enabled
* - uncomment to enable
*/
//#define UI_PINOUT_ALT
/*
* failed test run: display question mark symbol
* - requires component symbols (SW_SYMBOLS) to be enabled
* - uncomment to enable
*/
//#define UI_QUESTION_MARK
/*
* any Zener check: display Zener diode symbol
* - requires component symbols (SW_SYMBOLS) to be enabled