Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
9:aff48e331147
Parent:
7:3b2cf7efe5d1
Child:
43:f7ef0f5f980c
--- a/remoteEnc.cpp	Fri Nov 22 21:28:52 2013 +0000
+++ b/remoteEnc.cpp	Mon Feb 03 20:37:35 2014 +0000
@@ -20,7 +20,7 @@
 remoteEnc::remoteEnc(SPI &spiIn, PinName cspin) : spi(spiIn), cs(cspin){
     cs=1;
     spi.format(8,0);
-    spi.frequency(100000);
+    spi.frequency(1000000);
     direction[0]=direction[1]=direction[2]=direction[3]=1;
     int i;
     for(i=0;i<4;i++){