arduino yun + gyro l3gd20h

I'm trying to use the gyro with this code GitHub - adafruit/Adafruit_L3GD20: Driver for Adafruit's L3GD20 I2C Gyroscope Breakout in combination with the wiring as shown on the manufactures site:
Assembly and Wiring | Adafruit Triple Axis Gyro Breakout | Adafruit Learning System

I accidentally pressed TAB which posted the topic unfinished, so here I continue. I tried I2C and SPI but neither showed any respons on the serial monitor, but sometimes it does (rarely). But when I connect it with a uno I get a respons but it is the same everytime, namely that it is unable to initialize the L3GD20.

So what would you suggest to do?

Stick with I2C and the Uno and be sure both signal lines have pullup resistors. A value of 4K7 should work. After it's connected, tilt the device off horizontal and look for a reduction in accel Z and an increase in X and Y, depending on which way it's tiltedd. When rotating the device about any axis back and forth should give you +/- values on that axis.

Always check wiring when something does not work the first time you try it.