PaulStoffregen
Well-known member
@Paul, for the MadgwickIMU to compile without errors I have had to add in the lines:
#include <Wire.h>
#include <EEPROM.h>
Oh, opps. Fixed. I've been testing on Arduino 1.6.8 which automatically discovers the libs.
@Paul, for the MadgwickIMU to compile without errors I have had to add in the lines:
#include <Wire.h>
#include <EEPROM.h>
Play sounds stored in flash memory. However to do this, you need to be able to download sounds to the flash memory (such as the zmodem thread that went by a few days ago
Currently, i'm writing better a data-transfer-tool which uses RAW_HID. I miss something like this for a long time, and now it's time to finally do it![]()
Wanna take a look at MTP instead?
My problem is: I don't know, how.. and i don't want to read tons of docs.
Do you have some consice information ?
Nope, I only have the PTP and MTP specs from www.usb.org. Well, I also bought a Sandisk MP3 player which implements MTP (intended for reverse engineering), but apparently it has a buggy implementation that Linux rejects, but Windows allows. Truth is, I'm still figuring this protocol out too, and the MTP spec leaves a lot to be desired.![]()
[...] NXPMotionSense library [...] I'd like to ask everyone to please give it a try.
int16_t x = 10.0f * logf(10.0f * (mag[0] < 1.0f ? 1.0f : mag[0]));
Serial.println(
"999999999 888888888 777777777 66666666 555555555 "
"444444444 333333333 222222222 111111111 000000000" + (100 - x));
void NXPMotionSense::update()
{
static elapsedMillis msec;
int32_t alt;
if (FXOS8700_read(accel_mag_raw)) { // accel + mag
//Serial.println("accel+mag");
}
if (MPL3115_read(&alt, &temperature_raw)) { // alt
//Serial.println("alt");
}
if (FXAS21002_read(gyro_raw)) { // gyro
//Serial.println("gyro");
newdata = 1;
}
}
void NXPMotionSense::update()
{
static elapsedMillis msec;
int32_t alt;
if (FXOS8700_read(accel_mag_raw)) { // accel + mag
//Serial.println("accel+mag");
newdata = 1;
}
if (MPL3115_read(&alt, &temperature_raw)) { // alt
//Serial.println("alt");
newdata = 1;
}
if (FXAS21002_read(gyro_raw)) { // gyro
//Serial.println("gyro");
newdata = 1;
}
}
Are most people installing with prop shield above or below the T3.2? Are you using the 14x1 sockets and headers. I assume you would still need to connect up the pins on the A14/Dac row as well. Thanks
For me - I debated for some hours . . . and then I under pinned a T_3.2 and did top header on the Prop board.