Releases: ErickSimoes/Ultrasonic
Releases · ErickSimoes/Ultrasonic
Releasing 3.0.0
DistanceRead
is now Read()
[#47]
- To simplify the name of the distance read method to
read()
Documentation, examples and other references have been updated.
The old method still works, but a depreciation message is launched.
Abolition of the pulseIn
method [#45]
- The implementation of the timing now no longer use
pulseIn()
to prevent any incompatibility problems with platforms that do not have this method implemented.
Other changes
- Added WProgram.h to header file to increase code compatibility [#46];
- Created examples using timeouts [#44];
- Created code of conduct, instructions to contribution and issue templates;
- Some fixes in documentation and code style.
Thanks
My thanks to the contributions of the whole community, especially @OtacilioN and @per1234 🖖
Releasing 2.1.0
Add timeout to prevent lock-up
Prevents lock-up when waiting for echo return. Delegated Ultrasonic constructor for three-pin operation
The timeout is an optional parameter (20000UL by default) in the constructor or defined at runtime.
On the constructor:
Ultrasonic ultrasonic(12, 13, 40000UL);
Or in runtime:
ultrasonic.setTimeout(40000UL);
Tanks @eliotlim
Releasing 2.0.1
- Optimization of distanceRead() method implementation.
Releasing 2.0.0
- Add suport to three pins sensors, like Ping))) and Seeed SEN136B5B (from Seeed Studio);
- It is guaranteed that the distance reading method will not return negative values;
- Updates documentation.
Releasing 1.0.1
- Updated name of project
Releasing 1.0
- Updated documentation
- License update
- Duplicate code removal
- Correction of the return of the distanceRead () method
- New file layout
- Adding library.properties
Minimal Features
- The read function implemented to return, by default, the distance in centimeters;
- Read function implemented to receive as parameter in which unit should return the distance value (centimeters or inches);
- Defined which improvements to the next version.