Modification du code driver DC + Ajout code de test

This commit is contained in:
2016-01-28 20:24:17 +01:00
parent 046fb93b79
commit c841013c5a
4 changed files with 104 additions and 2 deletions

View File

@@ -33,7 +33,7 @@
//from ramps 1.4 stepper driver
#define STEP_PIN 3 //PD3;
#define DIR_PIN 5 //PC0;
//#define ENABLE_PIN 13 //PB5; for now is USELESS
//#define ENABLE_PIN 11 //PB5; for now is USELESS
//to use current motor as speed control, the LMD18245 has 4 bit cuttent output
//#define M0 9 //assign 4 bit from PORTB register to current control -> Bxx0000x (x mean any)