Im using the STM32L432 and I need to transmit data to a Raspberry Pi over I²c. In my project the STM32 is a slave and the Raspberry Pi is the master.
I am able to send & receive 1 integer over the I²c bus but I'm stuck how I can send more integers in 1 commando. Can someone help me please?#include "main.h" #include "string.h" #include "stdio.h" I2C_HandleTypeDef hi2c1; UART_HandleTypeDef huart2;...