f3:i2c: use printf and update docs
Preparations for updating the tree was making sure the existing example worked :)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# README
|
||||
|
||||
I2C example reading from the stm32f3discovery accelerometer.
|
||||
|
||||
UART TX on PA2 @ 115200/8n1
|
||||
|
||||
This example reads the onboard accelerometer and dumps the raw value
|
||||
of the ACC_OUT_X_L_A/ACC_OUT_X_H_A registers. (you should see ~0 for flat,
|
||||
and positive/negative values for tipping the board along it's long axis,
|
||||
ranging up to plus/minus 16k or so for vertical.
|
||||
|
||||
Reference in New Issue
Block a user