Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

library for shake() on Feather Sense?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

library for shake() on Feather Sense?

by wil4lan on Sat Apr 18, 2020 9:16 am

Hi, is there a library I can import to the Feather Sense to allow me to use shake()? Basically I want to activate a key press by shaking the board. I think the code should look something like this:

Code: Select all | TOGGLE FULL SIZE
if ???.shake(shake_threshold=20):
k.press(Keycode.D)

wil4lan
 
Posts: 2
Joined: Wed Apr 01, 2020 1:13 pm

Re: library for shake() on Feather Sense?

by siddacious on Fri Apr 24, 2020 5:46 pm

That ability does not exist yet but we're working on it!

Please go show your support here:
https://github.com/adafruit/Adafruit_Ci ... S/issues/5

siddacious
 
Posts: 271
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.