Rioduino and WPIlib communication

I can’t get the rioduino and the roborio to communicate over i2c using the c++, has someone gotten that to work?
Some example code for the arduino and roborio side would be very helpful, thanks.