Driver for ADS1115/ADS1015 reloaded

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Online
User avatar
Roberthh
Posts: 539
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Driver for ADS1115/ADS1015 reloaded

Postby Roberthh » Sat Mar 04, 2017 7:56 pm

Taking the well written driver of @deshipu, I added some functionality to effectively sample in a periodic manner. It may not look so elegant any more, but does not allocate memory in the acquiring functions, making it suitable for ISR use. The code & documentation is here https://github.com/robert-hh/ads1x15.git
or here:
ADS1x15.zip
(4.78 KiB) Downloaded 2 times

Thanks a lot, @deshipu

User avatar
deshipu
Posts: 938
Joined: Thu May 28, 2015 5:54 pm

Re: Driver for ADS1115/ADS1015 reloaded

Postby deshipu » Sat Mar 04, 2017 10:26 pm

This is great! I'm sure it will be useful for the more advanced use cases!

Online
User avatar
Roberthh
Posts: 539
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Driver for ADS1115/ADS1015 reloaded

Postby Roberthh » Sun Mar 05, 2017 4:02 pm

B.T.W.: Do you mind if I add the MIT copyright note & you as copyright holder?

User avatar
deshipu
Posts: 938
Joined: Thu May 28, 2015 5:54 pm

Re: Driver for ADS1115/ADS1015 reloaded

Postby deshipu » Sun Mar 05, 2017 6:37 pm

Well, the original driver has been released with a MIT license, so it's quite natural to use the same license here too. I think you should add yourself to the copyright line, though -- I'm not a lawyer, though.


Return to “Drivers for External Components”

Who is online

Users browsing this forum: No registered users and 1 guest