# This is the 1st commit message: MCP4728 consistency & fix ultralcd.cpp The MCP4728 DAC controls the stepper motor current strenth on the PRINTRBOARD Rev F and RIGIDBOARD V2 boards. PR #5792 on 9 FEB 2017 implemented default drive percentages but only on the RIGIDBOARD V2. This change moves the default settings to Configuration_adv.h. Also, ultralcd.cpp won't compile because of a type def conflict. Changed it to match the one in stepper_dac.cpp =========================================================== reword stepper curent section for clarity =========================================================== change name & improve comments =========================================================== changed name from A4JP to SCOOVO_X9H per PR #6139 # This is the commit message #2: fix typo
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
398 | 418 |
|
399 | 419 |
|
400 |
|
|
401 |
|
|
420 |
|
|
402 | 421 |
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
409 | 427 |
|
410 | 428 |
|
411 | 429 |
|
|
||
407 | 407 |
|
408 | 408 |
|
409 | 409 |
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
414 | 430 |
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
431 |
|
|
432 |
|
|
433 |
|
|
434 |
|
|
435 |
|
|
436 |
|
|
437 |
|
|
438 |
|
|
422 | 439 |
|
423 | 440 |
|
424 | 441 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
402 | 402 |
|
403 | 403 |
|
404 | 404 |
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
409 | 425 |
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
431 |
|
|
432 |
|
|
433 |
|
|
417 | 434 |
|
418 | 435 |
|
419 | 436 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
396 | 396 |
|
397 | 397 |
|
398 | 398 |
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
403 | 419 |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
411 | 428 |
|
412 | 429 |
|
413 | 430 |
|
|
||
396 | 396 |
|
397 | 397 |
|
398 | 398 |
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
403 | 419 |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
411 | 428 |
|
412 | 429 |
|
413 | 430 |
|
|
||
396 | 396 |
|
397 | 397 |
|
398 | 398 |
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
403 | 419 |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
411 | 428 |
|
412 | 429 |
|
413 | 430 |
|
|
||
401 | 401 |
|
402 | 402 |
|
403 | 403 |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
408 | 424 |
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
431 |
|
|
432 |
|
|
416 | 433 |
|
417 | 434 |
|
418 | 435 |
|
|
||
396 | 396 |
|
397 | 397 |
|
398 | 398 |
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
417 |
|
|
418 |
|
|
403 | 419 |
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
411 | 428 |
|
412 | 429 |
|
413 | 430 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
418 |
|
|
419 |
|
|
402 | 420 |
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
407 | 424 |
|
408 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
394 | 394 |
|
395 | 395 |
|
396 | 396 |
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
|
|
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
|
|
401 | 417 |
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
409 | 426 |
|
410 | 427 |
|
411 | 428 |
|
|
||
44 | 44 |
|
45 | 45 |
|
46 | 46 |
|
47 |
|
|
||
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
52 |
|
|
52 |
|
|
53 | 53 |
|
54 | 54 |
|
55 | 55 |
|
|
||
81 | 81 |
|
82 | 82 |
|
83 | 83 |
|
84 |
|
|
84 |
|
|
85 | 85 |
|
86 | 86 |
|
87 | 87 |
|