Closed Adrianotiger closed 8 years ago
It's certainly looking great for a first PR!
A few small points:
It might be handy to also add a quick note or snippet to the readme saying about multiple device support?
Thanks very much for taking the time to contribute back!
Can't you change the code or select the changes on a pull request? I made some changes but I was not sure that you want every changes I made, so I commented them out.
The open Issue was not to say that something was wrong... I opened only to say that there are some improvement possibilities, hehehe The library is great and thank to this library I was able to test the AMS without any heavy work :D I changed some lines so that it was easy to implement it on my project. Feel free to change or remove the pull request. As said, I am new to GitHub and is not so easy like the TFS application.
Nope, I only get the option to merge or not merge your branch back in to the master branch. I can't edit your branch either, since that's owned and controlled by you :).
You've done the right thing, opening a ticket is the right way to get our attention. I'll close it off when I merge in your changes.
Removed :relieved: Does I need to make a new pull request? I will test this library next week, I will give you the :ok: once I fully tested it!
That's great! your commits on the same branch all go in. Ping me when you're happy that it's all working!
@Adrianotiger Did you have any luck with further testing of this? Keen to merge it in :)
Hi Ben, sorry for the late answer. Yes I didn't had any problem with other SPI settings at the same time. Thank you again for your code!
Hi Ben, I added the SPISettings to the class, so it is possible to add more SPI devices using this library. Replaced also the defines with const... Arduino Reference wrote it is better :P (https://www.arduino.cc/en/Reference/Define) The clock is set to 1MHz (on the AMS5047 it is possible to set it up to 10MHz, don't know how it is on the 5048).
This is my first pull request, hope everything is ok. Thank you again for this AMS library! Adriano