Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 49a536b

Browse files
author
astronomer80
committed
minor fix
1 parent 2219ffc commit 49a536b

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ sentence=For Arduino braccio only.
66
paragraph= Arduino Braccio
77
category=Device Control
88
url=www.arduino.org
9-
architectures=avr
9+
architectures=avr, samd, sam

src/Braccio.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ unsigned int _Braccio::begin(int soft_start_level) {
8484
return 1;
8585
}
8686

87-
/*
88-
Default implementation
89-
*/
90-
unsigned int _Braccio::begin() {
91-
//SOFT_START_DEFAULT is the default value
92-
return begin(SOFT_START_DEFAULT);
93-
}
94-
9587
/*
9688
Software implementation of the PWM for the SOFT_START_CONTROL_PIN,HIGH
9789
@param high_time: the time in the logic level high

src/Braccio.h

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,15 @@ class _Braccio {
4141

4242
public:
4343
_Braccio();
44-
44+
4545
/**
46-
* Braccio initializations and set intial position
47-
* Modifing this function you can set up the initial position of all the
48-
* servo motors of the Braccio
49-
*/
50-
unsigned int begin();
51-
52-
/**
53-
* @param soft_start_level: from -10 to +10, default value is 0 (SOFT_START_DEFAULT)
46+
* Braccio initializations and set intial position
47+
* Modifing this function you can set up the initial position of all the
48+
* servo motors of the Braccio
49+
*@param soft_start_level: from -10 to +10, default value is 0 (SOFT_START_DEFAULT)
5450
* You should set begin(SOFT_START_DISABLED) if you are using the Arm Robot shield V1.6
5551
*/
56-
unsigned int begin(int soft_start_level);
52+
unsigned int begin(int soft_start_level=SOFT_START_DEFAULT);
5753

5854
/**
5955
* This function allow the user to control all the servo motors in the Braccio

0 commit comments

Comments
 (0)