test upload STMicroelectronics L6470

Dependents:   test L6470exaple

Files at this revision

API Documentation at this revision

Comitter:
Brid
Date:
Tue Dec 25 02:46:32 2012 +0000
Parent:
0:26699d53cd2a
Child:
2:97c203ed65da
Child:
3:f0e29d94b863
Commit message:
test upload

Changed in this revision

L6470.cpp Show annotated file Show diff for this revision Revisions of this file
L6470.h Show annotated file Show diff for this revision Revisions of this file
--- a/L6470.cpp	Tue Dec 25 02:39:30 2012 +0000
+++ b/L6470.cpp	Tue Dec 25 02:46:32 2012 +0000
@@ -1,3 +1,7 @@
+//This 'L6470' libraly maked by Brid
+//
+//
+
 
 #include "mbed.h"
 #include "L6470.h"
--- a/L6470.h	Tue Dec 25 02:39:30 2012 +0000
+++ b/L6470.h	Tue Dec 25 02:46:32 2012 +0000
@@ -1,3 +1,5 @@
+//This 'L6470' libraly maked by Brid
+
 #ifndef MBED_L6470
 #define MBED_L6470
  
@@ -6,7 +8,7 @@
 #define FORWARD     1
 #define REVERSE     0
 
-// name         (length<<2)+address
+// name         (length<<8)+address
 #define ABS_POS      ((22<<8)+0x01)    //Current position         
 #define EL_POS        ((9<<8)+0x02)    //Electrical position
 #define MARK         ((22<<8)+0x03)    //Mark position