example of i2c slave device supporting block transfers
Dependencies: lib_i2c_slave_block
Tested on nucleo board as slave. Use with i2c_master_block_example on raspberry pi as master.
Master I2C write will print on serial terminal 115200. User button will raise an irq; the RPi test program will service the interrupt.
See lib_i2c_slave_block for explanation of code.
Diff: lib_i2c_slave_block.lib
- Revision:
- 3:0288d257446a
- Parent:
- 2:d7e05c75f240
--- a/lib_i2c_slave_block.lib Mon Jan 21 18:09:05 2019 -0800 +++ b/lib_i2c_slave_block.lib Sun Feb 03 16:56:15 2019 -0800 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/dudmuck/code/lib_i2c_slave_block/#914409dc83b1 +https://os.mbed.com/users/dudmuck/code/lib_i2c_slave_block/#7ab789db70da