Skip to content

Using I2C to bit bang UART

JJTech edited this page Feb 4, 2022 · 7 revisions

This requires that the servo be programmed to operate at 100,000 baud. Use a programmer such as my Raspberry Pi Pico script to write 0x013 to register 0x02.

Methods

Function Address Byte Data Byte(s) Total Bytes
read(1) 7 bits + 1 Only 0xFF 2
write8() 7 bits + 0 Must be in form 0b1XXXXXXX, will be output as 0bXXXXXX10 2

NB: the address byte is treated as a regular data byte by the servo.

Clone this wiki locally