To connect the gyroscope to arduino use the following pins
Sketch to get the angels by axis X, Y, Z with GY-521 MPU 6050 you can find here
If you don't get any output - check the pins on the GY-521
You can easy upgrade or downgrade Node JS using n.
Make sure npm is already installed on you mac machine.
You can use command below to install n
npm install -g n
Some time ago I faced with problems:
- How to add XCTest framework to custom framework.
- How to create universol framework to use it with iOs simulators and real devices
- How to add this framework to XC UI Test target.
3th one was realy difficult. I asked iOs developers and nobody coudn't help me.
Today I'm going on to describe how to create universal framework for iOs simulators and real devices.
If you need to create Cocoa Touch Framework with XCTest follow the steps below:
Install dependency packages
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
Install Node.js & NPM
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
To resolve the issue
protocol fault (couldn't read status): Undefined error: 0
Execute following commands
adb kill server