Tuesday, March 31, 2015

We'll Get There!

Good news: I powered up a Bluefruit EZ-Key HID from adafruit and it connected to my MacBook Pro on the first try! We're gonna go with it. It has some extra functionality we don't really need, but it's very user friendly and only draws about 25mA. We'll eventually use the TX and RX pins to send information.

The bad news? There isn't really any yet, but we're learning things about things we didn't even know we didn't know. We attempted to write some mbed code in the compiler to start pulling data from the IMU and came to realize we actually don't have a clue where to start. We downloaded code from the adafruit website, but it was all configured for Arduino. -queue facepalm- Not knowing how to "convert" Arduino code to mbed, we consulted our dear friend Aadu. He enlightened us about I2C and the beautiful inner workings of our mbed. All we have to do is rewrite the Arduino code using functions in the I2C library we downloaded. Easy right? We'll see.

No comments:

Post a Comment