Skip to content

init command

Dilshan R Jayakody edited this page Mar 16, 2021 · 3 revisions

Format: init [SPEED]

Initialize the I2C bus with the given speed. For the [SPEED] parameter, specify one of the following speed configurations:

  • 100: 100kHz
  • 250: 250kHz
  • 400: 400kHz

This command must issue before continue with any I2C request.

Example:

  > init 100
  > start
  > write-address 0xE0
  > write 10
  > stop