Skip to content

v0.4

Compare
Choose a tag to compare
@ftylitak ftylitak released this 08 Feb 11:17
· 10 commits to main since this release

New Features:

  • ESP32 support. Made changes due to the different initialization parameter names of the UART and the different usage of Pin contol while using UART.
  • added funtion 'set_wait_after_uart_write' to be able to enable/disable the sleep command after a UART write.
    • For micropython implementations that uart.write calls uart_wait_tx_done, this sleep can be deactivated
  • added function 'set_timing_params' to be able to set wait duration for each character (default: 8333us). Mainly affects the timing of direction change for RS485

Bug fix:

  • in 'get_measurement' proerly read the seconds to wait for the measurement to be ready.
  • add safetly guard when requesting for additional sensor data in case the sensor mulfunctions to avoid infinite while loop.