and the mechanism so that if an endstop is hit it the ISR, the steps_to_be_taken are stored, and some current_block data that will be deleted in the next move If the normal loop() then finds such an event, the position is calculated (floats would have taken too long in the ISR) A serial message is generated.
|
|
||
6 |
|
6 |
|
7 |
|
7 |
|
8 |
|
8 |
|
|
9 |
|
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
|
|
||
108 |
|
109 |
|
109 |
|
110 |
|
110 |
|
111 |
|
|
112 |
|
|
111 |
|
113 |
|
112 |
|
114 |
|
|
|
||
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
|
|
|
42 |
|
|
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
|
|
||
99 |
|
99 |
|
100 |
|
100 |
|
101 |
|
101 |
|
|
102 |
|
|
102 |
|
103 |
|
103 |
|
104 |
|
104 |
|
105 |
|
|
|
||
120 |
|
121 |
|
121 |
|
122 |
|
122 |
|
123 |
|
|
124 |
|
|
|
125 |
|
|
123 |
|
126 |
|
124 |
|
127 |
|
125 |
|
128 |
|
126 |
|
129 |
|
127 |
|
130 |
|
128 |
|
131 |
|
129 |
|
|
|
130 |
|
132 |
|
131 |
|
133 |
|
132 |
|
134 |
|
|
|
||
211 |
|
213 |
|
212 |
|
214 |
|
213 |
|
215 |
|
214 |
|
|
|
|
216 |
|
|
215 |
|
217 |
|
216 |
|
218 |
|
217 |
|
219 |
|
|
|
||
269 |
|
271 |
|
270 |
|
272 |
|
271 |
|
273 |
|
|
274 |
|
|
272 |
|
275 |
|
273 |
|
276 |
|
274 |
|
277 |
|
|
|
||
443 |
|
446 |
|
444 |
|
447 |
|
445 |
|
448 |
|
|
449 |
|
|
446 |
|
450 |
|
447 |
|
451 |
|
448 |
|
452 |
|
449 |
|
453 |
|
450 |
|
454 |
|
|
455 |
|
|
451 |
|
456 |
|
452 |
|
457 |
|
453 |
|
458 |
|
454 |
|
459 |
|
|
460 |
|
|
455 |
|
461 |
|
456 |
|
462 |
|
457 |
|
463 |
|
458 |
|
464 |
|
459 |
|
465 |
|
|
466 |
|
|
|
467 |
|
|
460 |
|
468 |
|
461 |
|
469 |
|
462 |
|
470 |
|
|
|
||
522 |
|
530 |
|
523 |
|
531 |
|
524 |
|
532 |
|
|
533 |
|
|
525 |
|
534 |
|
526 |
|
535 |
|
527 |
|
536 |
|
|
|
||
909 |
|
918 |
|
910 |
|
919 |
|
911 |
|
920 |
|
|
921 |
|
|
|
922 |
|
|
|
923 |
|
|
|
924 |
|
|
|
925 |
|
|
912 |
|
926 |
|
913 |
|
927 |
|
914 |
|
928 |
|
|
|
||
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
|
36 |
|
|
36 |
|
37 |
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
|
43 |
|
|
42 |
|
44 |
|
43 |
|
45 |
|
44 |
|
46 |
|
|
|
||
62 |
|
64 |
|
63 |
|
65 |
|
64 |
|
66 |
|
65 |
|
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
66 |
|
70 |
|
67 |
|
71 |
|
68 |
|
72 |
|
|
|
||
152 |
|
156 |
|
153 |
|
157 |
|
154 |
|
158 |
|
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
155 |
|
178 |
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
156 |
|
197 |
|
157 |
|
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
158 |
|
202 |
|
159 |
|
203 |
|
160 |
|
204 |
|
|
|
||
296 |
|
340 |
|
297 |
|
341 |
|
298 |
|
342 |
|
|
343 |
|
|
299 |
|
344 |
|
300 |
|
345 |
|
301 |
|
346 |
|
|
|
||
307 |
|
352 |
|
308 |
|
353 |
|
309 |
|
354 |
|
|
355 |
|
|
310 |
|
356 |
|
311 |
|
357 |
|
312 |
|
358 |
|
|
|
||
319 |
|
365 |
|
320 |
|
366 |
|
321 |
|
367 |
|
|
368 |
|
|
322 |
|
369 |
|
323 |
|
370 |
|
324 |
|
371 |
|
|
|
||
330 |
|
377 |
|
331 |
|
378 |
|
332 |
|
379 |
|
|
380 |
|
|
333 |
|
381 |
|
334 |
|
382 |
|
335 |
|
383 |
|
|
|
||
342 |
|
390 |
|
343 |
|
391 |
|
344 |
|
392 |
|
|
393 |
|
|
345 |
|
394 |
|
346 |
|
395 |
|
347 |
|
396 |
|
|
|
||
353 |
|
402 |
|
354 |
|
403 |
|
355 |
|
404 |
|
|
405 |
|
|
356 |
|
406 |
|
357 |
|
407 |
|
358 |
|
408 |
|
|
|
||
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
42 |
|
47 |
|
43 |
|
48 |
|
|
49 |
|
|
|
50 |
|
|
44 |
|
51 |
|