Hi,
anybody out there with a good 'hello world' for making I2C work on an Arduino Mega under FreeRTOS?
Seems there is not so much stuff out there on Google (spent nearly 2 days) covering the Arduino / AVR / Atmel platform.
Yeah - SPI seems to be working - but not much on I2C.
I am currently building a smallish project requiring reading / writing to sensors and a display using TWI / I2C and all efforts I made ended nowhere.
I surely can talk to my I2C bus devices - but when I start the scheduler vTaskStartScheduler() everything stops working.
I tried the usual suspects (turning off interrupts / Semaphores / taskENTER_CRITICAL() ) - without success.
Don't want to spend too much time rewriting existing libraries etc.
So: Do you have any template / library files that make i2c easy for FreeRTOS on Arduino?