航空研究会 / L6470

Dependents:   L6470_2

Revision:
1:6cd6cd00aabe
Parent:
0:2f3be153718a
diff -r 2f3be153718a -r 6cd6cd00aabe L6470.h
--- a/L6470.h	Thu Feb 20 03:25:44 2020 +0000
+++ b/L6470.h	Thu Feb 20 03:48:07 2020 +0000
@@ -1,4 +1,4 @@
-/*#ifndef _L6470_H_
+#ifndef _L6470_H_
 #define _L6470_H_
 
 #include"mbed.h"
@@ -77,8 +77,8 @@
     void init()
     {
         // L6470のspi通信の有効化
-    //spi.format(8,2);
-    //spi.frequency(4960000);
+    //_spi.format(8,2);
+    //_spi.frequency(4960000);
     
     // nopを送ることで残留している命令を排除
     _cs = 1;