Example controlling galvanomirrors (X and Y) using the spi DAC MCP4922 and the new platform FRDM_K64F

Dependencies:   mbed

Revision:
2:383b2acec6e4
Parent:
0:26b228dde70c
Child:
3:89f592efbe84
--- a/laserProjectorHardware/laserProjectorHardware.h	Sun May 25 12:24:21 2014 +0000
+++ b/laserProjectorHardware/laserProjectorHardware.h	Mon May 26 08:37:38 2014 +0000
@@ -39,8 +39,6 @@
 
     void init(void);
 
-    void showLimitsMirrors( int times );
-
     // SPI control for DAC for mirrors and red laser power (low level): 
     void writeOutX(unsigned short value);
     void writeOutY(unsigned short value);
@@ -58,7 +56,9 @@
     // Setting all colors at once: 
     void setRGBPower(unsigned char color); // we will use the 3 LSB bits to set each color
     
-
+    // More complex functions: 
+    void showLimitsMirrors( int times );
+    void drawCircle(int X, int Y, int R, int numPoints);
     
 private: