Tom Igoe

Results 66 comments of Tom Igoe

Why not just do it like it's done in CurieIMU? If they give a value that's not acceptable, throw an error or round to the closest acceptable. T

Or give them constants for the acceptable values

One way to look at it: many IMUs have similar ranging patrenrs. For example, I've seen many where the options were 4, 4, 8, 16G for acceleration. Maybe a way...

I'm not totally sure I understand your question. Do you mean something like this? ```` String incoming = Serial.readStringUntil('\n'); // parse the string into a JSONVar object: JSONVar myObject =...

Yes, that's a good idea. On Mon, Apr 1, 2019, 2:54 PM Sandeep Mistry wrote: > Yes, something like that, however, instead of "x" and y for keys, maybe >...

I don't love the idea, since BLE isn't serial, and it's confusing to users who think it should show up on their laptop/desktop machines as a serial port. Unless you...

How big is "bulk"? If I remember correctly, BLE transfers data in something like 20-byte packets, so for something like a file transfer, you'd need to break it up into...

That's pretty much what notification feature is for, so don't worry about it. T On Fri, Sep 20, 2019, 5:14 PM Christoph Kretschmer wrote: > Well... I'm building a data...

Check out the ble midi examples in @sandeepmistry, @don, and @alasdairallan's book "make: Bluetooth". They use byte arrays. Here's an example derived from them: https://github.com/tigoe/SoundExamples/blob/master/MIDI_examples/ArduinoBLEMIDI/ArduinoBLEMIDI.ino On Fri, Sep 20, 2019,...

Hmmm... I like the idea of making it easy to generate UUIDs. At the very least, mentioning the uuidgenerator site in the docs is good, perhaps along with these two...