-
Notifications
You must be signed in to change notification settings - Fork 370
add HMC5883L driver for 3-Axis Digital Compass IC #6
Conversation
Looks good! 👍 I'll give this a test when I get back to the office and take a look at the merge conflicts! |
You can write somwhere that this is e.g. in popular GY-271 because not all know what is HMC5883L ;-) |
Hi @livius2 I've ordered a HMC5883L to test this out! Should arrive Monday - I'll give your code a test and then get it committed into the repo. |
Hi @livius2, I'm having trouble getting your lib to run on my GY-271. I'll give it another try on Monday but in the meantime, can you please create a new pull request for just the HMC5883L lib and test script (more the onewire.py to a new pull request)? Thanks! Alex |
@alex i do not know how i ommit this message from you May knowledge about git is strongly limited i do not know how to do separete pull request. regards, |
@livius2 No worries! :) I'm happy to help you! I would suggest creating a pull request from your fork from commits: This way you're only pushing what you have been working on. I've linked to the git documentation so you can see how to make a pull request with start and end commits! https://git-scm.com/docs/git-request-pull Thanks! |
I will look into git docs and back to you. |
Hi, i tried without any success. More hints about? |
done this differently |
First version of driver
without compensate, selftest and calibration but good point to start.
Slightly optimized form memory allocation in every m.readAxes()