You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,25 @@
1
1
# Open Bionics - FingerLib.h
2
2
3
-
##Description
3
+
##Description
4
4
This library can be used to control up to 6 fingers, which allows control for an Open Bionics robotic hand (Ada, Brunel). Each finger is actuated using a Firgelli
5
5
linear actuator, where the position is determined by using the embedded linear potentiometer.
6
6
7
7
FingerLib.h has been designed to closely resemble the Servo.h library, to allow ease of implementation for hobbyists and researchers.
Copy file name to clipboardExpand all lines: extras/library_reference.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,6 @@ Toggle the finger between open and closed
290
290
291
291
####Syntax
292
292
Finger.open_close()
293
-
294
293
Finger.open_close(dir)
295
294
296
295
####Parameters
@@ -509,6 +508,36 @@ val: boolean. true will enable the motor. false will disable the motor
509
508
none
510
509
511
510
511
+
####enableInterrupt
512
+
513
+
####Description
514
+
Enable the motor control to be called via an interrupt (enabled by default)
515
+
516
+
####Syntax
517
+
Finger.enableInterrupt()
518
+
519
+
####Parameters
520
+
none
521
+
522
+
####Returns
523
+
none
524
+
525
+
526
+
####disableInterrupt
527
+
528
+
####Description
529
+
Disable the motor control being called via an interrupt. The motor control function '_fingerControlCallback()' must be called manually in the main loop in order for the motors to move.
0 commit comments