Arduino Mega 2560 + GY-521 MPU6050

 

To connect the gyroscope to arduino use the following pins

Sensor Arduino
VCC 5V
GND GND
SCL SCL
SDA SDA

Sketch to get the angels by axis X, Y, Z with GY-521 MPU 6050 you can find here

Troubleshooting

If you don't get any output - check the pins on the GY-521

How to add custom framework to XC UI Test target.

Hi everyone!

Some time ago I faced with problems: 

  1. How to add XCTest framework to custom framework.
  2. How to create universol framework to use it with iOs simulators and real devices
  3. How to add this framework to XC UI Test target.

First two problems have been resolved enough fast. You can find articles here and here.

3th one was realy difficult. I asked iOs developers and nobody coudn't help me.

How to install node.js on Linux

How to install node.js on Linux

How to install node.js on Debian-based Linux distros (Debian, Ubuntu, Mint etc)

1 - Install the dependencies (chances are you’ve already got most of these)

sudo apt-get install g++ curl libssl-dev apache2-utils

2 - Then install git (you may already have that too)

sudo apt-get install git-core

3 - Clone the node git repo…

git clone git://github.com/ry/node.git

4 - Then install

cd node ./configure make sudo make install

How to fix adb error: protocol fault (couldn't read status): Undefined error: 0

To resolve the issue protocol fault (couldn't read status): Undefined error: 0

Execute following commands killall adb
adb kill server
adb devices

Страницы