-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ble_hid.md - Fixed Bad Instruction #519
base: master
Are you sure you want to change the base?
Conversation
baconspoon85
commented
Jul 18, 2022
- Corrected and clarified bad instruction. This document tells you to place the "adafruit_ble" library at the device root. It should be placed in the "lib" directory.
- Provided a more direct link to get the Adafruit CircuitPython Bundle. New link provides better detail from Adafruit for how and what to download.
- Corrected the link to instructions for renaming the CIRCUITPY drive.
1. Corrected and clarified bad instruction. This document tells you to place the "adafruit_ble" library at the device root. It should be placed in the "lib" directory. 2. Provided a more direct link to get the Adafruit CircuitPython Bundle. New link provides better detail from Adafruit for how and what to download. 3. Corrected the link to instructions for renaming the CIRCUITPY drive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of minor things
Simply put this in the "root" of your CircuitPython device. If unsure, it's the folder with main.py in it, and should be the first folder you see when you open the device. | ||
If not running KMKPython, this does require the [adafruit_ble library from Adafruit](https://github.com/adafruit/Adafruit_CircuitPython_BLE/tree/master/adafruit_ble). | ||
It's part of the Adafruit CircuitPython Bundle, which can be downloaded [here](https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20220715). | ||
Get the bundle version that corresponds to the CircuitPython version installed on your device. Unzip the bundle and open the "lib" folder to locate the "adafruit_ble" library. Selectively copy that library (the entire "adafruit_ble" folder) and place it into the "lib" folder located at the root of your CIRCUITPY device. If unsure, the root is the main device storage folder where your main.py (or code.py) file is located. The "lib" folder should have been created when you installed CircuitPython. If not, just create one to place the ble library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why doesn't the device root work? Is there some specific code somewhere that explicitly sources from lib?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our standard convention seems to be on the root of the drive. If that library somehow only magically works only under /lib
then an exception can be made, however that shouldn't be the case last I worked on BLE
Removed reference to KMKPython Co-authored-by: xs5871 <[email protected]>
Simply put this in the "root" of your CircuitPython device. If unsure, it's the folder with main.py in it, and should be the first folder you see when you open the device. | ||
If not running KMKPython, this does require the [adafruit_ble library from Adafruit](https://github.com/adafruit/Adafruit_CircuitPython_BLE/tree/master/adafruit_ble). | ||
It's part of the Adafruit CircuitPython Bundle, which can be downloaded [here](https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20220715). | ||
Get the bundle version that corresponds to the CircuitPython version installed on your device. Unzip the bundle and open the "lib" folder to locate the "adafruit_ble" library. Selectively copy that library (the entire "adafruit_ble" folder) and place it into the "lib" folder located at the root of your CIRCUITPY device. If unsure, the root is the main device storage folder where your main.py (or code.py) file is located. The "lib" folder should have been created when you installed CircuitPython. If not, just create one to place the ble library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our standard convention seems to be on the root of the drive. If that library somehow only magically works only under /lib
then an exception can be made, however that shouldn't be the case last I worked on BLE
@baconspoon85 Just wondering if you plan on coming to make more changes? Otherwise, we'll adopt this and get it patched up and merged. These fixes should be put in place in the docs. |
I wasn't. Sorry, life got a bit out of hand this month. Thanks for the email.On Aug 10, 2022 01:55, Kyle Brown ***@***.***> wrote:
@baconspoon85 Just wondering if you plan on coming to make more changes? Otherwise, we'll adopt this and get it patched up and merged. These fixes should be put in place in the docs.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|