Multos Forums

M5-P19 I2C master example

This is bare bones example of using I2C in master mode with the M5-P19. The complete example including an Arduino sketch (to act as the slave) can be downloaded here.

// MULTOS P19 running in command mode either through ISO7816 interface or Serial interface(pin 18 low))// Demonstrates using high level I2C calls to talk to an Arduino slave// To run this, select the application then send the APDU CLA=00 INS=00 P1=00 P2=00 Lc=00// Uses CAPI-V2 so make sure you have the latest version of SmartDeck (3.1.x.x or later) and multos.h