TLMoto

Dependents:   BMS_2 BMS_4 BMS_8

Files at this revision

API Documentation at this revision

Comitter:
ser1516
Date:
Sat Oct 22 16:33:51 2016 +0000
Parent:
0:f6b9d13870f2
Commit message:
comit antes de gerardo mexer

Changed in this revision

LTC68041.cpp Show annotated file Show diff for this revision Revisions of this file
LTC68041.h Show annotated file Show diff for this revision Revisions of this file
--- a/LTC68041.cpp	Fri Sep 09 13:46:07 2016 +0000
+++ b/LTC68041.cpp	Sat Oct 22 16:33:51 2016 +0000
@@ -71,6 +71,10 @@
 #include "mbed.h"
 
 
+/*!***********************************
+\brief Initializes the configuration array
+**************************************/
+
 
 void output_low(uint8_t pin){
     pin = 0;    
@@ -90,7 +94,7 @@
 //  SPI 1
 
 SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK);
-DigitalOut spi_cs(PB_6);
+DigitalOut spi_cs(PA_4);
 //  SPI 2
 //SPI spi(PC_1, PC_2, PB_10);
 //DigitalOut spi_cs(PB_12);
--- a/LTC68041.h	Fri Sep 09 13:46:07 2016 +0000
+++ b/LTC68041.h	Sat Oct 22 16:33:51 2016 +0000
@@ -226,4 +226,6 @@
 
 void output_high(uint8_t pin);
 
+
+
 #endif