This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.serial.*; | |
import processing.opengl.*; | |
import toxi.geom.*; | |
import toxi.processing.*; | |
import java.nio.*; | |
ToxiclibsSupport gfx; | |
Serial port; // The serial port | |
char[] teapotPacket = new char[100]; // roll, pitch, yaw csv string from port |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gist.github.com/doojinkang gyro.ino | |
#include "MPU6050.h" | |
MPU6050 accelgyro; | |
int16_t ax, ay, az; | |
int16_t gx, gy, gz; | |
#define GYRO_FACTOR 131.0 * M_PI / 180 |
OlderNewer