航空研究会 / L6470

Dependents:   L6470_2

Files at this revision

API Documentation at this revision

Comitter:
imanomadao
Date:
Thu Feb 20 03:48:07 2020 +0000
Parent:
0:2f3be153718a
Commit message:
aiueo

Changed in this revision

L6470.h Show annotated file Show diff for this revision Revisions of this file
--- 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;