-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands example.ptp
101 lines (86 loc) · 854 Bytes
/
commands example.ptp
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
VERSION
8
COMMSETTINGS
0
COM20
COM2
9600
2
63
4
0
0
COMMDISPLAY
0
SEND
0
poll data
67 65 74 0D
0
5
SEND
1
get software version
73 77 20 76 65 72 0D
0
5
SEND
2
reset watchdog
77 64 74 0D 0A
0
5
SEND
3
set threshold
74 68 72 65 73 68 6F 6C 64 20 31 31 32 0D
0
5
SEND
4
save threshold + adc calibration
73 61 76 65 0D
0
5
SEND
5
set calibration factor for measured voltage value, 1000000 = adc * 1.0
63 61 6C 20 31 30 30 30 30 30 30 0D
0
5
SEND
6
turn auto pwm adjustment off
61 75 74 6F 20 70 77 6D 20 30 0D
0
5
SEND
7
set pwm duty cycle (max 3196 = 100%)
70 77 6D 20 33 31 35 35 0D
0
5
SEND
8
auto usb transmit (10/sec) data packet off
61 75 74 6F 20 75 73 62 20 30 0D
0
5
SEND
9
reset settings to default
64 65 66 61 75 6C 74 0D
0
5
SEND
10
reset geiger counter value
63 6C 65 61 72 0D
0
5
SEND
11
reset entire chip
72 65 73 65 74 0D
0
5