File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2021 John Park for Adafruit Industries.
2
+ #
3
+ # SPDX-License-Identifier: MIT
1
4
"""
2
5
Power Glove BLE MIDI with Feather Sense nRF52840
3
6
Sends MIDI CC values based on finger flex sensors and accelerometer
11
14
from adafruit_midi .control_change import ControlChange
12
15
# from adafruit_midi.note_on import NoteOn
13
16
# from adafruit_midi.pitch_bend import PitchBend
14
- import adafruit_lsm6ds # accelerometer
17
+ import adafruit_lsm6ds . lsm6ds33 # accelerometer
15
18
import simpleio
16
19
from analogio import AnalogIn
17
20
18
21
i2c = board .I2C ()
19
- sense_accel = adafruit_lsm6ds .LSM6DS33 (i2c )
22
+ sense_accel = adafruit_lsm6ds .lsm6ds33 . LSM6DS33 (i2c )
20
23
21
24
analog_in_thumb = AnalogIn (board .A3 )
22
25
analog_in_index = AnalogIn (board .A2 )
You can’t perform that action at this time.
0 commit comments