Skip to content

Commit 2371e2c

Browse files
committed
SPI library to the new format and moved Robot_Motor and Robot_Control libraries
1 parent 87d3b4f commit 2371e2c

File tree

98 files changed

+14
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+14
-216
lines changed

hardware/arduino/sam/libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor.pde

-143
This file was deleted.

hardware/arduino/sam/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.pde

-71
This file was deleted.

hardware/arduino/avr/libraries/SPI/SPI.cpp renamed to libraries/SPI/arch/avr/SPI.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
#include "pins_arduino.h"
12-
#include "SPI.h"
12+
#include "SPI_Class.h"
1313

1414
SPIClass SPI;
1515

hardware/arduino/sam/libraries/SPI/SPI.cpp renamed to libraries/SPI/arch/sam/SPI.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* published by the Free Software Foundation.
99
*/
1010

11-
#include "SPI.h"
11+
#include "SPI_Class.h"
1212

1313
SPIClass::SPIClass(Spi *_spi, uint32_t _id, void(*_initCb)(void)) :
1414
spi(_spi), id(_id), initCb(_initCb)

libraries/SPI/library.properties

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
name=SPI
3+
author=cmaglie
4+
email=Cristian Maglie <c.maglie@arduino.cc>
5+
sentence=With this library you can use the SPI interface of your Arduino board.
6+
paragraph=This library implements the standard function available for the SPI bus.
7+
url=http://arduino.cc/en/Reference/SPI
8+
architectures=avr, sam
9+
version=1.0
10+
dependencies= none
11+
core-dependencies=arduino (>=1.5.0)

libraries/SPI/src/SPI.h

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include <SPI_Class.h>

0 commit comments

Comments
 (0)