sajattack / bitbang-hal

Implements embedded-hal traits by bitbanging
MIT License
41 stars 11 forks source link

spi/i2c/serial: digital::v2 and updated error handling #5

Closed geomatsi closed 5 years ago

geomatsi commented 5 years ago

Signed-off-by: Sergey Matyukevich geomatsi@gmail.com

geomatsi commented 5 years ago

Hi @sajattack Here is a switch to digital::v2 and related error handling update. Could you please take a look and let me know if you have any comments or concerns.

Tested with i2c for kxcj9 accelerometer and spi for display driver on stm32f101.

Regards, Sergey